﻿// MT504




using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.Collections.Generic;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category5
{
  public class MT504 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagSequenceDefinition U0002;
    private static SwiftTagDefinition U0003;
    private static SwiftTagSubItemDefinition U0004;
    private static SwiftTagDefinition U0005;
    private static SwiftTagSubItemDefinition U0006;
    private static SwiftTagSubItemDefinition U0007;
    private static SwiftTagDefinition U0008;
    private static SwiftTagSubItemDefinition U000E;
    private static SwiftTagSubItemDefinition U000F;
    private static SwiftTagSubItemDefinition U0010;
    private static SwiftTagSequenceDefinition U0011;
    private static SwiftTagDefinition U0012;
    private static SwiftTagSubItemDefinition U0013;
    private static SwiftTagDefinition U0014;
    private static SwiftTagSubItemDefinition U0015;
    private static SwiftTagSubItemDefinition U0016;
    private static SwiftTagSubItemDefinition U0017;
    private static SwiftTagDefinition U0018;
    private static SwiftTagSubItemDefinition U0019;
    private static SwiftTagSubItemDefinition U001A;
    private static SwiftTagDefinition U001B;
    private static SwiftTagSubItemDefinition U001C;
    private static SwiftTagSubItemDefinition U001D;
    private static SwiftTagSubItemDefinition U001E;
    private static SwiftTagDefinition U001F;
    private static SwiftTagSubItemDefinition U007F;
    private static SwiftTagSubItemDefinition U0080;
    private static SwiftTagDefinition U0081;
    private static SwiftTagSubItemDefinition U0082;
    private static SwiftTagChoiceDefinition U0083;
    private static SwiftTagDefinition U0084;
    private static SwiftTagSubItemDefinition U0086;
    private static SwiftTagSubItemDefinition U0087;
    private static SwiftTagDefinition U0088;
    private static SwiftTagSubItemDefinition U0089;
    private static SwiftTagSubItemDefinition U008A;
    private static SwiftTagSubItemDefinition U008B;
    private static SwiftTagSubItemDefinition U008C;
    private static SwiftTagDefinition U008D;
    private static SwiftTagSubItemDefinition U008E;
    private static SwiftTagSubItemDefinition U008F;
    private static SwiftTagSubItemDefinition U0090;
    private static SwiftTagSubItemDefinition U0091;
    private static SwiftTagSubItemDefinition U0092;
    private static SwiftTagSubItemDefinition U0093;
    private static SwiftTagSubItemDefinition U0094;
    private static SwiftTagSubItemDefinition U0095;
    private static SwiftTagSubItemDefinition U0096;
    private static SwiftTagChoiceDefinition U0097;
    private static SwiftTagDefinition U0098;
    private static SwiftTagSubItemDefinition U0099;
    private static SwiftTagSubItemDefinition U009A;
    private static SwiftTagDefinition U009B;
    private static SwiftTagSubItemDefinition U009C;
    private static SwiftTagSubItemDefinition U009D;
    private static SwiftTagSubItemDefinition U009E;
    private static SwiftTagChoiceDefinition U009F;
    private static SwiftTagDefinition U0001U0002;
    private static SwiftTagSubItemDefinition U0002U0002;
    private static SwiftTagSubItemDefinition U0003U0002;
    private static SwiftTagDefinition U0004U0002;
    private static SwiftTagSubItemDefinition U0005U0002;
    private static SwiftTagSubItemDefinition U0006U0002;
    private static SwiftTagDefinition U0007U0002;
    private static SwiftTagSubItemDefinition U0008U0002;
    private static SwiftTagSubItemDefinition U000EU0002;
    private static SwiftTagSubItemDefinition U000FU0002;
    private static SwiftTagDefinition U0010U0002;
    private static SwiftTagSubItemDefinition U0011U0002;
    private static SwiftTagSubItemDefinition U0012U0002;
    private static SwiftTagSequenceDefinition U0013U0002;
    private static SwiftTagDefinition U0014U0002;
    private static SwiftTagSubItemDefinition U0015U0002;
    private static SwiftTagChoiceDefinition U0016U0002;
    private static SwiftTagDefinition U0017U0002;
    private static SwiftTagSubItemDefinition U0018U0002;
    private static SwiftTagSubItemDefinition U0019U0002;
    private static SwiftTagDefinition U001AU0002;
    private static SwiftTagSubItemDefinition U001BU0002;
    private static SwiftTagSubItemDefinition U001CU0002;
    private static SwiftTagSubItemDefinition U001DU0002;
    private static SwiftTagDefinition U001EU0002;
    private static SwiftTagSubItemDefinition U001FU0002;
    private static SwiftTagSubItemDefinition U007FU0002;
    private static SwiftTagDefinition U0080U0002;
    private static SwiftTagSubItemDefinition U0081U0002;
    private static SwiftTagDefinition U0082U0002;
    private static SwiftTagSubItemDefinition U0083U0002;
    private static SwiftTagSequenceDefinition U0084U0002;
    private static SwiftTagDefinition U0086U0002;
    private static SwiftTagSubItemDefinition U0087U0002;
    private static SwiftTagChoiceDefinition U0088U0002;
    private static SwiftTagDefinition U0089U0002;
    private static SwiftTagSubItemDefinition U008AU0002;
    private static SwiftTagSubItemDefinition U008BU0002;
    private static SwiftTagDefinition U008CU0002;
    private static SwiftTagSubItemDefinition U008DU0002;
    private static SwiftTagSubItemDefinition U008EU0002;
    private static SwiftTagDefinition U008FU0002;
    private static SwiftTagSubItemDefinition U0090U0002;
    private static SwiftTagSubItemDefinition U0091U0002;
    private static SwiftTagSubItemDefinition U0092U0002;
    private static SwiftTagDefinition U0093U0002;
    private static SwiftTagSubItemDefinition U0094U0002;
    private static SwiftTagSubItemDefinition U0095U0002;
    private static SwiftTagSubItemDefinition U0096U0002;
    private static SwiftTagSubItemDefinition U0097U0002;
    private static SwiftTagSequenceDefinition U0098U0002;
    private static SwiftTagDefinition U0099U0002;
    private static SwiftTagSubItemDefinition U009AU0002;
    private static SwiftTagDefinition U009BU0002;
    private static SwiftTagSubItemDefinition U009CU0002;
    private static SwiftTagSubItemDefinition U009DU0002;
    private static SwiftTagSubItemDefinition U009EU0002;
    private static SwiftTagSubItemDefinition U009FU0002;
    private static SwiftTagChoiceDefinition U0001U0003;
    private static SwiftTagDefinition U0002U0003;
    private static SwiftTagSubItemDefinition U0003U0003;
    private static SwiftTagSubItemDefinition U0004U0003;
    private static SwiftTagDefinition U0005U0003;
    private static SwiftTagSubItemDefinition U0006U0003;
    private static SwiftTagSubItemDefinition U0007U0003;
    private static SwiftTagSubItemDefinition U0008U0003;
    private static SwiftTagSubItemDefinition U000EU0003;
    private static SwiftTagDefinition U000FU0003;
    private static SwiftTagSubItemDefinition U0010U0003;
    private static SwiftTagDefinition U0011U0003;
    private static SwiftTagSubItemDefinition U0012U0003;
    private static SwiftTagSequenceDefinition U0013U0003;
    private static SwiftTagDefinition U0014U0003;
    private static SwiftTagSubItemDefinition U0015U0003;
    private static SwiftTagDefinition U0016U0003;
    private static SwiftTagSubItemDefinition U0017U0003;
    private static SwiftTagSubItemDefinition U0018U0003;
    private static SwiftTagChoiceDefinition U0019U0003;
    private static SwiftTagDefinition U001AU0003;
    private static SwiftTagSubItemDefinition U001BU0003;
    private static SwiftTagSubItemDefinition U001CU0003;
    private static SwiftTagDefinition U001DU0003;
    private static SwiftTagSubItemDefinition U001EU0003;
    private static SwiftTagSubItemDefinition U001FU0003;
    private static SwiftTagSubItemDefinition U007FU0003;
    private static SwiftTagDefinition U0080U0003;
    private static SwiftTagSubItemDefinition U0081U0003;
    private static SwiftTagSubItemDefinition U0082U0003;
    private static SwiftTagSequenceDefinition U0083U0003;
    private static SwiftTagDefinition U0084U0003;
    private static SwiftTagSubItemDefinition U0086U0003;
    private static SwiftTagDefinition U0087U0003;
    private static SwiftTagSubItemDefinition U0088U0003;
    private static SwiftTagSubItemDefinition U0089U0003;
    private static SwiftTagSubItemDefinition U008AU0003;
    private static SwiftTagDefinition U008BU0003;
    private static SwiftTagSubItemDefinition U008CU0003;
    private static SwiftTagSubItemDefinition U008DU0003;
    private static SwiftTagSubItemDefinition U008EU0003;
    private static SwiftTagSubItemDefinition U008FU0003;
    private static SwiftTagDefinition U0090U0003;
    private static SwiftTagSubItemDefinition U0091U0003;
    private static SwiftTagSubItemDefinition U0092U0003;
    private static SwiftTagSequenceDefinition U0093U0003;
    private static SwiftTagDefinition U0094U0003;
    private static SwiftTagSubItemDefinition U0095U0003;
    private static SwiftTagChoiceDefinition U0096U0003;
    private static SwiftTagDefinition U0097U0003;
    private static SwiftTagSubItemDefinition U0098U0003;
    private static SwiftTagSubItemDefinition U0099U0003;
    private static SwiftTagDefinition U009AU0003;
    private static SwiftTagSubItemDefinition U009BU0003;
    private static SwiftTagSubItemDefinition U009CU0003;
    private static SwiftTagSubItemDefinition U009DU0003;
    private static SwiftTagSequenceDefinition U009EU0003;
    private static SwiftTagDefinition U009FU0003;
    private static SwiftTagSubItemDefinition U0001U0004;
    private static SwiftTagChoiceDefinition U0002U0004;
    private static SwiftTagDefinition U0003U0004;
    private static SwiftTagSubItemDefinition U0004U0004;
    private static SwiftTagSubItemDefinition U0005U0004;
    private static SwiftTagDefinition U0006U0004;
    private static SwiftTagSubItemDefinition U0007U0004;
    private static SwiftTagSubItemDefinition U0008U0004;
    private static SwiftTagDefinition U000EU0004;
    private static SwiftTagSubItemDefinition U000FU0004;
    private static SwiftTagSubItemDefinition U0010U0004;
    private static SwiftTagDefinition U0011U0004;
    private static SwiftTagSubItemDefinition U0012U0004;
    private static SwiftTagSubItemDefinition U0013U0004;
    private static SwiftTagSubItemDefinition U0014U0004;
    private static SwiftTagDefinition U0015U0004;
    private static SwiftTagSubItemDefinition U0016U0004;
    private static SwiftTagSubItemDefinition U0017U0004;
    private static SwiftTagSubItemDefinition U0018U0004;
    private static SwiftTagSubItemDefinition U0019U0004;
    private static SwiftTagSubItemDefinition U001AU0004;
    private static SwiftTagChoiceDefinition U001BU0004;
    private static SwiftTagDefinition U001CU0004;
    private static SwiftTagSubItemDefinition U001DU0004;
    private static SwiftTagSubItemDefinition U001EU0004;
    private static SwiftTagDefinition U001FU0004;
    private static SwiftTagSubItemDefinition U007FU0004;
    private static SwiftTagSubItemDefinition U0080U0004;
    private static SwiftTagSubItemDefinition U0081U0004;
    private static SwiftTagSubItemDefinition U0082U0004;
    private static SwiftTagDefinition U0083U0004;
    private static SwiftTagSubItemDefinition U0084U0004;
    private static SwiftTagSubItemDefinition U0086U0004;
    private static SwiftTagDefinition U0087U0004;
    private static SwiftTagSubItemDefinition U0088U0004;
    private static SwiftTagDefinition U0089U0004;
    private static SwiftTagSubItemDefinition U008AU0004;
    private static SwiftTagDefinition U008BU0004;
    private static SwiftTagSubItemDefinition U008CU0004;
    private static SwiftTagSequenceDefinition U008DU0004;
    private static SwiftTagDefinition U008EU0004;
    private static SwiftTagSubItemDefinition U008FU0004;
    private static SwiftTagDefinition U0090U0004;
    private static SwiftTagSubItemDefinition U0091U0004;
    private static SwiftTagSubItemDefinition U0092U0004;
    private static SwiftTagSubItemDefinition U0093U0004;
    private static SwiftTagSubItemDefinition U0094U0004;
    private static SwiftTagDefinition U0095U0004;
    private static SwiftTagSubItemDefinition U0096U0004;
    private static SwiftTagSubItemDefinition U0097U0004;
    private static SwiftTagDefinition U0098U0004;
    private static SwiftTagSubItemDefinition U0099U0004;
    private static SwiftTagSubItemDefinition U009AU0004;
    private static SwiftTagSequenceDefinition U009BU0004;
    private static SwiftTagDefinition U009CU0004;
    private static SwiftTagSubItemDefinition U009DU0004;
    private static SwiftTagDefinition U009EU0004;
    private static SwiftTagSubItemDefinition U009FU0004;
    private static SwiftTagSubItemDefinition U0001U0005;
    private static SwiftTagSubItemDefinition U0002U0005;
    private static SwiftTagSequenceDefinition U0003U0005;
    private static SwiftTagDefinition U0004U0005;
    private static SwiftTagSubItemDefinition U0005U0005;
    private static SwiftTagChoiceDefinition U0006U0005;
    private static SwiftTagDefinition U0007U0005;
    private static SwiftTagSubItemDefinition U0008U0005;
    private static SwiftTagSubItemDefinition U000EU0005;
    private static SwiftTagDefinition U000FU0005;
    private static SwiftTagSubItemDefinition U0010U0005;
    private static SwiftTagSubItemDefinition U0011U0005;
    private static SwiftTagDefinition U0012U0005;
    private static SwiftTagSubItemDefinition U0013U0005;
    private static SwiftTagSubItemDefinition U0014U0005;
    private static SwiftTagSubItemDefinition U0015U0005;
    private static SwiftTagDefinition U0016U0005;
    private static SwiftTagSubItemDefinition U0017U0005;
    private static SwiftTagSubItemDefinition U0018U0005;
    private static SwiftTagSubItemDefinition U0019U0005;
    private static SwiftTagSubItemDefinition U001AU0005;
    private static SwiftTagSubItemDefinition U001BU0005;
    private static SwiftTagChoiceDefinition U001CU0005;
    private static SwiftTagDefinition U001DU0005;
    private static SwiftTagSubItemDefinition U001EU0005;
    private static SwiftTagSubItemDefinition U001FU0005;
    private static SwiftTagDefinition U007FU0005;
    private static SwiftTagSubItemDefinition U0080U0005;
    private static SwiftTagSubItemDefinition U0081U0005;
    private static SwiftTagDefinition U0082U0005;
    private static SwiftTagSubItemDefinition U0083U0005;
    private static SwiftTagSubItemDefinition U0084U0005;
    private static SwiftTagDefinition U0086U0005;
    private static SwiftTagSubItemDefinition U0087U0005;
    private static SwiftTagDefinition U0088U0005;
    private static SwiftTagSubItemDefinition U0089U0005;
    private static SwiftTagDefinition U008AU0005;
    private static SwiftTagSubItemDefinition U008BU0005;
    private static SwiftTagSequenceDefinition U008CU0005;
    private static SwiftTagDefinition U008DU0005;
    private static SwiftTagSubItemDefinition U008EU0005;
    private static SwiftTagDefinition U008FU0005;
    private static SwiftTagSubItemDefinition U0090U0005;
    private static SwiftTagSubItemDefinition U0091U0005;
    private static SwiftTagChoiceDefinition U0092U0005;
    private static SwiftTagDefinition U0093U0005;
    private static SwiftTagSubItemDefinition U0094U0005;
    private static SwiftTagSubItemDefinition U0095U0005;
    private static SwiftTagDefinition U0096U0005;
    private static SwiftTagSubItemDefinition U0097U0005;
    private static SwiftTagSubItemDefinition U0098U0005;
    private static SwiftTagSubItemDefinition U0099U0005;
    private static SwiftTagChoiceDefinition U009AU0005;
    private static SwiftTagDefinition U009BU0005;
    private static SwiftTagSubItemDefinition U009CU0005;
    private static SwiftTagSubItemDefinition U009DU0005;
    private static SwiftTagDefinition U009EU0005;
    private static SwiftTagSubItemDefinition U009FU0005;
    private static SwiftTagSubItemDefinition U0001U0006;
    private static SwiftTagDefinition U0002U0006;
    private static SwiftTagSubItemDefinition U0003U0006;
    private static SwiftTagSubItemDefinition U0004U0006;
    private static SwiftTagSubItemDefinition U0005U0006;
    private static SwiftTagDefinition U0006U0006;
    private static SwiftTagSubItemDefinition U0007U0006;
    private static SwiftTagSubItemDefinition U0008U0006;
    private static SwiftTagSubItemDefinition U000EU0006;
    private static SwiftTagSubItemDefinition U000FU0006;
    private static SwiftTagDefinition U0010U0006;
    private static SwiftTagSubItemDefinition U0011U0006;
    private static SwiftTagDefinition U0012U0006;
    private static SwiftTagSubItemDefinition U0013U0006;
    private static SwiftTagSequenceDefinition U0014U0006;
    private static SwiftTagDefinition U0015U0006;
    private static SwiftTagSubItemDefinition U0016U0006;
    private static SwiftTagChoiceDefinition U0017U0006;
    private static SwiftTagDefinition U0018U0006;
    private static SwiftTagSubItemDefinition U0019U0006;
    private static SwiftTagSubItemDefinition U001AU0006;
    private static SwiftTagDefinition U001BU0006;
    private static SwiftTagSubItemDefinition U001CU0006;
    private static SwiftTagSubItemDefinition U001DU0006;
    private static SwiftTagSubItemDefinition U001EU0006;
    private static SwiftTagSequenceDefinition U001FU0006;
    private static SwiftTagDefinition U007FU0006;
    private static SwiftTagSubItemDefinition U0080U0006;
    private static SwiftTagChoiceDefinition U0081U0006;
    private static SwiftTagDefinition U0082U0006;
    private static SwiftTagSubItemDefinition U0083U0006;
    private static SwiftTagSubItemDefinition U0084U0006;
    private static SwiftTagDefinition U0086U0006;
    private static SwiftTagSubItemDefinition U0087U0006;
    private static SwiftTagSubItemDefinition U0088U0006;
    private static SwiftTagDefinition U0089U0006;
    private static SwiftTagSubItemDefinition U008AU0006;
    private static SwiftTagSubItemDefinition U008BU0006;
    private static SwiftTagDefinition U008CU0006;
    private static SwiftTagSubItemDefinition U008DU0006;
    private static SwiftTagSubItemDefinition U008EU0006;
    private static SwiftTagSubItemDefinition U008FU0006;
    private static SwiftTagDefinition U0090U0006;
    private static SwiftTagSubItemDefinition U0091U0006;
    private static SwiftTagSubItemDefinition U0092U0006;
    private static SwiftTagSubItemDefinition U0093U0006;
    private static SwiftTagSubItemDefinition U0094U0006;
    private static SwiftTagSubItemDefinition U0095U0006;
    private static SwiftTagChoiceDefinition U0096U0006;
    private static SwiftTagDefinition U0097U0006;
    private static SwiftTagSubItemDefinition U0098U0006;
    private static SwiftTagSubItemDefinition U0099U0006;
    private static SwiftTagDefinition U009AU0006;
    private static SwiftTagSubItemDefinition U009BU0006;
    private static SwiftTagSubItemDefinition U009CU0006;
    private static SwiftTagSubItemDefinition U009DU0006;
    private static SwiftTagSubItemDefinition U009EU0006;
    private static SwiftTagDefinition U009FU0006;
    private static SwiftTagSubItemDefinition U0001U0007;
    private static SwiftTagSubItemDefinition U0002U0007;
    private static SwiftTagDefinition U0003U0007;
    private static SwiftTagSubItemDefinition U0004U0007;
    private static SwiftTagDefinition U0005U0007;
    private static SwiftTagSubItemDefinition U0006U0007;
    private static SwiftTagSequenceDefinition U0007U0007;
    private static SwiftTagDefinition U0008U0007;
    private static SwiftTagSubItemDefinition U000EU0007;
    private static SwiftTagDefinition U000FU0007;
    private static SwiftTagSubItemDefinition U0010U0007;
    private static SwiftTagSubItemDefinition U0011U0007;
    private static SwiftTagSubItemDefinition U0012U0007;
    private static SwiftTagSequenceDefinition U0013U0007;
    private static SwiftTagDefinition U0014U0007;
    private static SwiftTagSubItemDefinition U0015U0007;
    private static SwiftTagChoiceDefinition U0016U0007;
    private static SwiftTagDefinition U0017U0007;
    private static SwiftTagSubItemDefinition U0018U0007;
    private static SwiftTagSubItemDefinition U0019U0007;
    private static SwiftTagDefinition U001AU0007;
    private static SwiftTagSubItemDefinition U001BU0007;
    private static SwiftTagSubItemDefinition U001CU0007;
    private static SwiftTagDefinition U001DU0007;
    private static SwiftTagSubItemDefinition U001EU0007;
    private static SwiftTagSubItemDefinition U001FU0007;
    private static SwiftTagSubItemDefinition U007FU0007;
    private static SwiftTagDefinition U0080U0007;
    private static SwiftTagSubItemDefinition U0081U0007;
    private static SwiftTagSubItemDefinition U0082U0007;
    private static SwiftTagSubItemDefinition U0083U0007;
    private static SwiftTagSubItemDefinition U0084U0007;
    private static SwiftTagSubItemDefinition U0086U0007;
    private static SwiftTagChoiceDefinition U0087U0007;
    private static SwiftTagDefinition U0088U0007;
    private static SwiftTagSubItemDefinition U0089U0007;
    private static SwiftTagSubItemDefinition U008AU0007;
    private static SwiftTagDefinition U008BU0007;
    private static SwiftTagSubItemDefinition U008CU0007;
    private static SwiftTagSubItemDefinition U008DU0007;
    private static SwiftTagDefinition U008EU0007;
    private static SwiftTagSubItemDefinition U008FU0007;
    private static SwiftTagSubItemDefinition U0090U0007;
    private static SwiftTagDefinition U0091U0007;
    private static SwiftTagSubItemDefinition U0092U0007;
    private static SwiftTagDefinition U0093U0007;
    private static SwiftTagSubItemDefinition U0094U0007;
    private static SwiftTagSequenceDefinition U0095U0007;
    private static SwiftTagDefinition U0096U0007;
    private static SwiftTagSubItemDefinition U0097U0007;
    private static SwiftTagChoiceDefinition U0098U0007;
    private static SwiftTagDefinition U0099U0007;
    private static SwiftTagSubItemDefinition U009AU0007;
    private static SwiftTagSubItemDefinition U009BU0007;
    private static SwiftTagDefinition U009CU0007;
    private static SwiftTagSubItemDefinition U009DU0007;
    private static SwiftTagSubItemDefinition U009EU0007;
    private static SwiftTagSubItemDefinition U009FU0007;
    private static SwiftTagDefinition U0001U0008;
    private static SwiftTagSubItemDefinition U0002U0008;
    private static SwiftTagSubItemDefinition U0003U0008;
    private static SwiftTagDefinition U0004U0008;
    private static SwiftTagSubItemDefinition U0005U0008;

    [Description("General Information")]
    public MT504.SequenceAClass SequenceA
    {
      get
      {
        return new MT504.SequenceAClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Summary")]
    public MT504.SequenceBClass SequenceB
    {
      get
      {
        return new MT504.SequenceBClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Collateral Details")]
    public MT504.SequenceCClass[] SequenceC
    {
      get
      {
        int index = -1;
        List<MT504.SequenceCClass> list = new List<MT504.SequenceCClass>();
        int count;
        do
        {
          ++index;
          MT504.SequenceCClass sequenceCclass = new MT504.SequenceCClass((SwiftElement) this, index, false);
          count = this.ListTags((SwiftElement) sequenceCclass).Count;
          if (count > 0)
            list.Add(sequenceCclass);
        }
        while (count > 0);
        return list.ToArray();
      }
    }

    [Description("Settlement Details")]
    public MT504.SequenceDClass SequenceD
    {
      get
      {
        MT504.SequenceDClass sequenceDclass = new MT504.SequenceDClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceDclass).Count > 0)
          return sequenceDclass;
        else
          return (MT504.SequenceDClass) null;
      }
    }

    [Description("Cash Settlement Details")]
    public MT504.SequenceEClass SequenceE
    {
      get
      {
        MT504.SequenceEClass sequenceEclass = new MT504.SequenceEClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceEclass).Count > 0)
          return sequenceEclass;
        else
          return (MT504.SequenceEClass) null;
      }
    }

    [Description("Additional Information")]
    public MT504.SequenceFClass SequenceF
    {
      get
      {
        MT504.SequenceFClass sequenceFclass = new MT504.SequenceFClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceFclass).Count > 0)
          return sequenceFclass;
        else
          return (MT504.SequenceFClass) null;
      }
    }

    public MT504()
      : base(true)
    {
    }

    public MT504(SwiftMessage message)
      : base(message)
    {
    }

    public MT504.SequenceCClass AddSequenceC()
    {
      return new MT504.SequenceCClass((SwiftElement) this, this.SequenceC.Length, true);
    }

    public void RemoveSequenceC(MT504.SequenceCClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT504.SequenceDClass AddSequenceD()
    {
      return this.SequenceD ?? new MT504.SequenceDClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceD(MT504.SequenceDClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT504.SequenceEClass AddSequenceE()
    {
      return this.SequenceE ?? new MT504.SequenceEClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceE(MT504.SequenceEClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT504.SequenceFClass AddSequenceF()
    {
      return this.SequenceF ?? new MT504.SequenceFClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceF(MT504.SequenceFClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT504.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT504.MessageDefinition = new SwiftMessageDefinition("MT504", "Collateral Proposal");
      MT504.U0002 = new SwiftTagSequenceDefinition("SequenceA", "General Information");
      MT504.U0003 = new SwiftTagDefinition("StartOfBlock_A_16R", "Start Of Block");
      MT504.U0003.TagName = ":16R:GENL";
      MT504.U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U0004.Mandatory = false;
      MT504.U0003.Elements.Add((SwiftDefinitionElement) MT504.U0004);
      MT504.U0002.Elements.Add((SwiftDefinitionElement) MT504.U0003);
      MT504.U0005 = new SwiftTagDefinition("Reference_A_20C", "Reference");
      MT504.U0005.TagName = ":20C::";
      MT504.U0005.Multiple = true;
      MT504.U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0005.Elements.Add((SwiftDefinitionElement) MT504.U0006);
      MT504.U0007 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT504.U0005.Elements.Add((SwiftDefinitionElement) MT504.U0007);
      MT504.U0002.Elements.Add((SwiftDefinitionElement) MT504.U0005);
      MT504.U0008 = new SwiftTagDefinition("FunctionOfTheMessage_A_23G", "Function Of the Message");
      MT504.U0008.TagName = ":23G:";
      MT504.U000E = new SwiftTagSubItemDefinition("Function", "Function");
      MT504.U0008.Elements.Add((SwiftDefinitionElement) MT504.U000E);
      MT504.U000F = new SwiftTagSubItemDefinition("Subfunction", "Sub Function");
      MT504.U000F.Mandatory = false;
      MT504.U0010 = new SwiftTagSubItemDefinition("Subfunction_1", "Sub Function");
      MT504.U000F.Elements.Add((SwiftDefinitionElement) MT504.U0010);
      MT504.U0008.Elements.Add((SwiftDefinitionElement) MT504.U000F);
      MT504.U0002.Elements.Add((SwiftDefinitionElement) MT504.U0008);
      MT504.U0011 = new SwiftTagSequenceDefinition("SequenceA1", "Agreement");
      MT504.U0011.Multiple = true;
      MT504.U0012 = new SwiftTagDefinition("StartOfBlock_A1_16R", "Start Of Block");
      MT504.U0012.TagName = ":16R:AGRE";
      MT504.U0013 = new SwiftTagSubItemDefinition("StartOfBlock", "Start OF Block");
      MT504.U0013.Mandatory = false;
      MT504.U0012.Elements.Add((SwiftDefinitionElement) MT504.U0013);
      MT504.U0011.Elements.Add((SwiftDefinitionElement) MT504.U0012);
      MT504.U0014 = new SwiftTagDefinition("Indicator_A1_22F", "Agreement Indicator");
      MT504.U0014.TagName = ":22F::";
      MT504.U0014.Mandatory = false;
      MT504.U0015 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0014.Elements.Add((SwiftDefinitionElement) MT504.U0015);
      MT504.U0016 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U0014.Elements.Add((SwiftDefinitionElement) MT504.U0016);
      MT504.U0017 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U0014.Elements.Add((SwiftDefinitionElement) MT504.U0017);
      MT504.U0011.Elements.Add((SwiftDefinitionElement) MT504.U0014);
      MT504.U0018 = new SwiftTagDefinition("Date_A1_98A", "Agreement Date");
      MT504.U0018.TagName = ":98A::";
      MT504.U0018.Mandatory = false;
      MT504.U0019 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0018.Elements.Add((SwiftDefinitionElement) MT504.U0019);
      MT504.U001A = new SwiftTagSubItemDefinition("Date", "Date");
      MT504.U0018.Elements.Add((SwiftDefinitionElement) MT504.U001A);
      MT504.U0011.Elements.Add((SwiftDefinitionElement) MT504.U0018);
      MT504.U001B = new SwiftTagDefinition("Number_A1_13B", "Agreement Version number");
      MT504.U001B.TagName = ":13B::";
      MT504.U001B.Mandatory = false;
      MT504.U001C = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U001B.Elements.Add((SwiftDefinitionElement) MT504.U001C);
      MT504.U001D = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U001B.Elements.Add((SwiftDefinitionElement) MT504.U001D);
      MT504.U001E = new SwiftTagSubItemDefinition("Number_13B", "Number");
      MT504.U001B.Elements.Add((SwiftDefinitionElement) MT504.U001E);
      MT504.U0011.Elements.Add((SwiftDefinitionElement) MT504.U001B);
      MT504.U001F = new SwiftTagDefinition("Narrative_A1_70C", "Agreement Narrative");
      MT504.U001F.TagName = ":70C::";
      MT504.U001F.Mandatory = false;
      MT504.U007F = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U001F.Elements.Add((SwiftDefinitionElement) MT504.U007F);
      MT504.U0080 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT504.U001F.Elements.Add((SwiftDefinitionElement) MT504.U0080);
      MT504.U0011.Elements.Add((SwiftDefinitionElement) MT504.U001F);
      MT504.U0081 = new SwiftTagDefinition("EndOfBlock_A1_16S", "End Of Block");
      MT504.U0081.TagName = ":16S:AGRE";
      MT504.U0082 = new SwiftTagSubItemDefinition("EndOfBlock", "End OF Block");
      MT504.U0082.Mandatory = false;
      MT504.U0081.Elements.Add((SwiftDefinitionElement) MT504.U0082);
      MT504.U0011.Elements.Add((SwiftDefinitionElement) MT504.U0081);
      MT504.U0002.Elements.Add((SwiftDefinitionElement) MT504.U0011);
      MT504.U0083 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0083.Mandatory = false;
      MT504.U0083.Multiple = true;
      MT504.U0084 = new SwiftTagDefinition("Date_A_98A", "Preparation Date");
      MT504.U0084.TagName = ":98A::";
      MT504.U0086 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0084.Elements.Add((SwiftDefinitionElement) MT504.U0086);
      MT504.U0087 = new SwiftTagSubItemDefinition("Date", "Date");
      MT504.U0084.Elements.Add((SwiftDefinitionElement) MT504.U0087);
      MT504.U0083.Elements.Add((SwiftDefinitionElement) MT504.U0084);
      MT504.U0088 = new SwiftTagDefinition("DateTime_A_98C", "Preparation Date/Time");
      MT504.U0088.TagName = ":98C::";
      MT504.U0089 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0088.Elements.Add((SwiftDefinitionElement) MT504.U0089);
      MT504.U008A = new SwiftTagSubItemDefinition("DateTime", "Date and Time");
      MT504.U008B = new SwiftTagSubItemDefinition("Date", "Date");
      MT504.U008A.Elements.Add((SwiftDefinitionElement) MT504.U008B);
      MT504.U008C = new SwiftTagSubItemDefinition("Time", "Time");
      MT504.U008A.Elements.Add((SwiftDefinitionElement) MT504.U008C);
      MT504.U0088.Elements.Add((SwiftDefinitionElement) MT504.U008A);
      MT504.U0083.Elements.Add((SwiftDefinitionElement) MT504.U0088);
      MT504.U008D = new SwiftTagDefinition("DateTime_A_98E", "Trade Date/Time");
      MT504.U008D.TagName = ":98E::";
      MT504.U008E = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U008D.Elements.Add((SwiftDefinitionElement) MT504.U008E);
      MT504.U008F = new SwiftTagSubItemDefinition("DateTimeDecimalsAndUTCIndicator", "Trade Date/Time");
      MT504.U0090 = new SwiftTagSubItemDefinition("DateTimeDecimals", "Trade Date/Time");
      MT504.U0091 = new SwiftTagSubItemDefinition("DateTime", "Date\\Time");
      MT504.U0092 = new SwiftTagSubItemDefinition("Date", "Date");
      MT504.U0091.Elements.Add((SwiftDefinitionElement) MT504.U0092);
      MT504.U0093 = new SwiftTagSubItemDefinition("Time", "Time");
      MT504.U0091.Elements.Add((SwiftDefinitionElement) MT504.U0093);
      MT504.U0090.Elements.Add((SwiftDefinitionElement) MT504.U0091);
      MT504.U0094 = new SwiftTagSubItemDefinition("Decimals", "Time");
      MT504.U0094.Mandatory = false;
      MT504.U0090.Elements.Add((SwiftDefinitionElement) MT504.U0094);
      MT504.U008F.Elements.Add((SwiftDefinitionElement) MT504.U0090);
      MT504.U0095 = new SwiftTagSubItemDefinition("UTCIndicatorRecord", "Date\\Time");
      MT504.U0095.Mandatory = false;
      MT504.U0096 = new SwiftTagSubItemDefinition("UTCIndicator", "Indicator");
      MT504.U0095.Elements.Add((SwiftDefinitionElement) MT504.U0096);
      MT504.U008F.Elements.Add((SwiftDefinitionElement) MT504.U0095);
      MT504.U008D.Elements.Add((SwiftDefinitionElement) MT504.U008F);
      MT504.U0083.Elements.Add((SwiftDefinitionElement) MT504.U008D);
      MT504.U0002.Elements.Add((SwiftDefinitionElement) MT504.U0083);
      MT504.U0097 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0097.Multiple = true;
      MT504.U0098 = new SwiftTagDefinition("Indicator_A_22H", "Indicator");
      MT504.U0098.TagName = ":22H::";
      MT504.U0098.Multiple = true;
      MT504.U0099 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0098.Elements.Add((SwiftDefinitionElement) MT504.U0099);
      MT504.U009A = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U0098.Elements.Add((SwiftDefinitionElement) MT504.U009A);
      MT504.U0097.Elements.Add((SwiftDefinitionElement) MT504.U0098);
      MT504.U009B = new SwiftTagDefinition("Indicator_A_22F", "Indicator");
      MT504.U009B.TagName = ":22F::";
      MT504.U009B.Multiple = true;
      MT504.U009C = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U009B.Elements.Add((SwiftDefinitionElement) MT504.U009C);
      MT504.U009D = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U009B.Elements.Add((SwiftDefinitionElement) MT504.U009D);
      MT504.U009E = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U009B.Elements.Add((SwiftDefinitionElement) MT504.U009E);
      MT504.U0097.Elements.Add((SwiftDefinitionElement) MT504.U009B);
      MT504.U0002.Elements.Add((SwiftDefinitionElement) MT504.U0097);
      MT504.U009F = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U009F.Multiple = true;
      MT504.U0001U0002 = new SwiftTagDefinition("Party_A_95P", "Party");
      MT504.U0001U0002.TagName = ":95P::";
      MT504.U0001U0002.Multiple = true;
      MT504.U0002U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0001U0002.Elements.Add((SwiftDefinitionElement) MT504.U0002U0002);
      MT504.U0003U0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT504.U0001U0002.Elements.Add((SwiftDefinitionElement) MT504.U0003U0002);
      MT504.U009F.Elements.Add((SwiftDefinitionElement) MT504.U0001U0002);
      MT504.U0004U0002 = new SwiftTagDefinition("Party_A_95Q", "Party");
      MT504.U0004U0002.TagName = ":95Q::";
      MT504.U0004U0002.Multiple = true;
      MT504.U0005U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0004U0002.Elements.Add((SwiftDefinitionElement) MT504.U0005U0002);
      MT504.U0006U0002 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name And Address");
      MT504.U0004U0002.Elements.Add((SwiftDefinitionElement) MT504.U0006U0002);
      MT504.U009F.Elements.Add((SwiftDefinitionElement) MT504.U0004U0002);
      MT504.U0007U0002 = new SwiftTagDefinition("Party_A_95R", "Party");
      MT504.U0007U0002.TagName = ":95R::";
      MT504.U0007U0002.Multiple = true;
      MT504.U0008U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0007U0002.Elements.Add((SwiftDefinitionElement) MT504.U0008U0002);
      MT504.U000EU0002 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT504.U0007U0002.Elements.Add((SwiftDefinitionElement) MT504.U000EU0002);
      MT504.U000FU0002 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT504.U0007U0002.Elements.Add((SwiftDefinitionElement) MT504.U000FU0002);
      MT504.U009F.Elements.Add((SwiftDefinitionElement) MT504.U0007U0002);
      MT504.U0002.Elements.Add((SwiftDefinitionElement) MT504.U009F);
      MT504.U0010U0002 = new SwiftTagDefinition("Narrative_A_70C", "Party Contact Narrative");
      MT504.U0010U0002.TagName = ":70C::";
      MT504.U0010U0002.Mandatory = false;
      MT504.U0011U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0010U0002.Elements.Add((SwiftDefinitionElement) MT504.U0011U0002);
      MT504.U0012U0002 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT504.U0010U0002.Elements.Add((SwiftDefinitionElement) MT504.U0012U0002);
      MT504.U0002.Elements.Add((SwiftDefinitionElement) MT504.U0010U0002);
      MT504.U0013U0002 = new SwiftTagSequenceDefinition("SequenceA2", "Linkages");
      MT504.U0013U0002.Mandatory = false;
      MT504.U0013U0002.Multiple = true;
      MT504.U0014U0002 = new SwiftTagDefinition("StartOfBlock_A2_16R", "Start Of Block");
      MT504.U0014U0002.TagName = ":16R:LINK";
      MT504.U0015U0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U0015U0002.Mandatory = false;
      MT504.U0014U0002.Elements.Add((SwiftDefinitionElement) MT504.U0015U0002);
      MT504.U0013U0002.Elements.Add((SwiftDefinitionElement) MT504.U0014U0002);
      MT504.U0016U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0016U0002.Mandatory = false;
      MT504.U0016U0002.Multiple = true;
      MT504.U0017U0002 = new SwiftTagDefinition("NumberIdentification_A2_13A", "Linked Message");
      MT504.U0017U0002.TagName = ":13A::";
      MT504.U0018U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0017U0002.Elements.Add((SwiftDefinitionElement) MT504.U0018U0002);
      MT504.U0019U0002 = new SwiftTagSubItemDefinition("NumberId", "Number Id");
      MT504.U0017U0002.Elements.Add((SwiftDefinitionElement) MT504.U0019U0002);
      MT504.U0016U0002.Elements.Add((SwiftDefinitionElement) MT504.U0017U0002);
      MT504.U001AU0002 = new SwiftTagDefinition("NumberIdentification_A2_13B", "Linked Message");
      MT504.U001AU0002.TagName = ":13B::";
      MT504.U001BU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U001AU0002.Elements.Add((SwiftDefinitionElement) MT504.U001BU0002);
      MT504.U001CU0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source");
      MT504.U001AU0002.Elements.Add((SwiftDefinitionElement) MT504.U001CU0002);
      MT504.U001DU0002 = new SwiftTagSubItemDefinition("Number_13B", "");
      MT504.U001AU0002.Elements.Add((SwiftDefinitionElement) MT504.U001DU0002);
      MT504.U0016U0002.Elements.Add((SwiftDefinitionElement) MT504.U001AU0002);
      MT504.U0013U0002.Elements.Add((SwiftDefinitionElement) MT504.U0016U0002);
      MT504.U001EU0002 = new SwiftTagDefinition("Reference_A2_20C", "Reference");
      MT504.U001EU0002.TagName = ":20C::";
      MT504.U001FU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U001EU0002.Elements.Add((SwiftDefinitionElement) MT504.U001FU0002);
      MT504.U007FU0002 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT504.U001EU0002.Elements.Add((SwiftDefinitionElement) MT504.U007FU0002);
      MT504.U0013U0002.Elements.Add((SwiftDefinitionElement) MT504.U001EU0002);
      MT504.U0080U0002 = new SwiftTagDefinition("EndOfBlock_A2_16S", "End Of Block");
      MT504.U0080U0002.TagName = ":16S:LINK";
      MT504.U0081U0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0081U0002.Mandatory = false;
      MT504.U0080U0002.Elements.Add((SwiftDefinitionElement) MT504.U0081U0002);
      MT504.U0013U0002.Elements.Add((SwiftDefinitionElement) MT504.U0080U0002);
      MT504.U0002.Elements.Add((SwiftDefinitionElement) MT504.U0013U0002);
      MT504.U0082U0002 = new SwiftTagDefinition("EndOfBlock_A_16S", "End Of Block");
      MT504.U0082U0002.TagName = ":16S:GENL";
      MT504.U0083U0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0083U0002.Mandatory = false;
      MT504.U0082U0002.Elements.Add((SwiftDefinitionElement) MT504.U0083U0002);
      MT504.U0002.Elements.Add((SwiftDefinitionElement) MT504.U0082U0002);
      MT504.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT504.U0002);
      MT504.U0084U0002 = new SwiftTagSequenceDefinition("SequenceB", "Summary");
      MT504.U0086U0002 = new SwiftTagDefinition("StartOfBlock_B_16R", "Start Of Block");
      MT504.U0086U0002.TagName = ":16R:SUMM";
      MT504.U0087U0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U0087U0002.Mandatory = false;
      MT504.U0086U0002.Elements.Add((SwiftDefinitionElement) MT504.U0087U0002);
      MT504.U0084U0002.Elements.Add((SwiftDefinitionElement) MT504.U0086U0002);
      MT504.U0088U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0088U0002.Multiple = true;
      MT504.U0089U0002 = new SwiftTagDefinition("Party_B_95P", "Party");
      MT504.U0089U0002.TagName = ":95P::";
      MT504.U008AU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0089U0002.Elements.Add((SwiftDefinitionElement) MT504.U008AU0002);
      MT504.U008BU0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT504.U0089U0002.Elements.Add((SwiftDefinitionElement) MT504.U008BU0002);
      MT504.U0088U0002.Elements.Add((SwiftDefinitionElement) MT504.U0089U0002);
      MT504.U008CU0002 = new SwiftTagDefinition("Party_B_95Q", "Party");
      MT504.U008CU0002.TagName = ":95Q::";
      MT504.U008DU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U008CU0002.Elements.Add((SwiftDefinitionElement) MT504.U008DU0002);
      MT504.U008EU0002 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name And Address");
      MT504.U008CU0002.Elements.Add((SwiftDefinitionElement) MT504.U008EU0002);
      MT504.U0088U0002.Elements.Add((SwiftDefinitionElement) MT504.U008CU0002);
      MT504.U008FU0002 = new SwiftTagDefinition("Party_B_95R", "Party");
      MT504.U008FU0002.TagName = ":95R::";
      MT504.U0090U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U008FU0002.Elements.Add((SwiftDefinitionElement) MT504.U0090U0002);
      MT504.U0091U0002 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT504.U008FU0002.Elements.Add((SwiftDefinitionElement) MT504.U0091U0002);
      MT504.U0092U0002 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT504.U008FU0002.Elements.Add((SwiftDefinitionElement) MT504.U0092U0002);
      MT504.U0088U0002.Elements.Add((SwiftDefinitionElement) MT504.U008FU0002);
      MT504.U0084U0002.Elements.Add((SwiftDefinitionElement) MT504.U0088U0002);
      MT504.U0093U0002 = new SwiftTagDefinition("Amount_B_19B", "Amount");
      MT504.U0093U0002.TagName = ":19B::";
      MT504.U0093U0002.Multiple = true;
      MT504.U0094U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0093U0002.Elements.Add((SwiftDefinitionElement) MT504.U0094U0002);
      MT504.U0095U0002 = new SwiftTagSubItemDefinition("Amount", "AMOUNT");
      MT504.U0096U0002 = new SwiftTagSubItemDefinition("CurrencyCode", "CurrencyCode");
      MT504.U0095U0002.Elements.Add((SwiftDefinitionElement) MT504.U0096U0002);
      MT504.U0097U0002 = new SwiftTagSubItemDefinition("Amount_1", "Amount");
      MT504.U0095U0002.Elements.Add((SwiftDefinitionElement) MT504.U0097U0002);
      MT504.U0093U0002.Elements.Add((SwiftDefinitionElement) MT504.U0095U0002);
      MT504.U0084U0002.Elements.Add((SwiftDefinitionElement) MT504.U0093U0002);
      MT504.U0098U0002 = new SwiftTagSequenceDefinition("SequenceB1", "Summary Details");
      MT504.U0098U0002.Mandatory = false;
      MT504.U0099U0002 = new SwiftTagDefinition("StartOfBlock_B1_16R", "Start Of Block");
      MT504.U0099U0002.TagName = ":16R:SUMD";
      MT504.U009AU0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U009AU0002.Mandatory = false;
      MT504.U0099U0002.Elements.Add((SwiftDefinitionElement) MT504.U009AU0002);
      MT504.U0098U0002.Elements.Add((SwiftDefinitionElement) MT504.U0099U0002);
      MT504.U009BU0002 = new SwiftTagDefinition("Amount_B1_19B", "Amount");
      MT504.U009BU0002.TagName = ":19B::";
      MT504.U009BU0002.Mandatory = false;
      MT504.U009BU0002.Multiple = true;
      MT504.U009CU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U009BU0002.Elements.Add((SwiftDefinitionElement) MT504.U009CU0002);
      MT504.U009DU0002 = new SwiftTagSubItemDefinition("Amount", "AMOUNT");
      MT504.U009EU0002 = new SwiftTagSubItemDefinition("CurrencyCode", "CurrencyCode");
      MT504.U009DU0002.Elements.Add((SwiftDefinitionElement) MT504.U009EU0002);
      MT504.U009FU0002 = new SwiftTagSubItemDefinition("Amount_1", "Amount");
      MT504.U009DU0002.Elements.Add((SwiftDefinitionElement) MT504.U009FU0002);
      MT504.U009BU0002.Elements.Add((SwiftDefinitionElement) MT504.U009DU0002);
      MT504.U0098U0002.Elements.Add((SwiftDefinitionElement) MT504.U009BU0002);
      MT504.U0001U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0001U0003.Mandatory = false;
      MT504.U0001U0003.Multiple = true;
      MT504.U0002U0003 = new SwiftTagDefinition("Date_B1_98A", "Date ");
      MT504.U0002U0003.TagName = ":98A::";
      MT504.U0002U0003.Multiple = true;
      MT504.U0003U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0002U0003.Elements.Add((SwiftDefinitionElement) MT504.U0003U0003);
      MT504.U0004U0003 = new SwiftTagSubItemDefinition("Date", "Date");
      MT504.U0002U0003.Elements.Add((SwiftDefinitionElement) MT504.U0004U0003);
      MT504.U0001U0003.Elements.Add((SwiftDefinitionElement) MT504.U0002U0003);
      MT504.U0005U0003 = new SwiftTagDefinition("DateTime_B1_98C", "Date Time");
      MT504.U0005U0003.TagName = ":98C::";
      MT504.U0005U0003.Multiple = true;
      MT504.U0006U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0005U0003.Elements.Add((SwiftDefinitionElement) MT504.U0006U0003);
      MT504.U0007U0003 = new SwiftTagSubItemDefinition("DateTime", "Date Time");
      MT504.U0008U0003 = new SwiftTagSubItemDefinition("Date", "Date");
      MT504.U0007U0003.Elements.Add((SwiftDefinitionElement) MT504.U0008U0003);
      MT504.U000EU0003 = new SwiftTagSubItemDefinition("Time", "Time");
      MT504.U0007U0003.Elements.Add((SwiftDefinitionElement) MT504.U000EU0003);
      MT504.U0005U0003.Elements.Add((SwiftDefinitionElement) MT504.U0007U0003);
      MT504.U0001U0003.Elements.Add((SwiftDefinitionElement) MT504.U0005U0003);
      MT504.U0098U0002.Elements.Add((SwiftDefinitionElement) MT504.U0001U0003);
      MT504.U000FU0003 = new SwiftTagDefinition("EndOfBlock_B1_16S", "End Of Block");
      MT504.U000FU0003.TagName = ":16S:SUMD";
      MT504.U0010U0003 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0010U0003.Mandatory = false;
      MT504.U000FU0003.Elements.Add((SwiftDefinitionElement) MT504.U0010U0003);
      MT504.U0098U0002.Elements.Add((SwiftDefinitionElement) MT504.U000FU0003);
      MT504.U0084U0002.Elements.Add((SwiftDefinitionElement) MT504.U0098U0002);
      MT504.U0011U0003 = new SwiftTagDefinition("EndOfBlock_B_16S", "End Of Block");
      MT504.U0011U0003.TagName = ":16S:SUMM";
      MT504.U0012U0003 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0012U0003.Mandatory = false;
      MT504.U0011U0003.Elements.Add((SwiftDefinitionElement) MT504.U0012U0003);
      MT504.U0084U0002.Elements.Add((SwiftDefinitionElement) MT504.U0011U0003);
      MT504.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT504.U0084U0002);
      MT504.U0013U0003 = new SwiftTagSequenceDefinition("SequenceC", "Collateral Details");
      MT504.U0013U0003.Multiple = true;
      MT504.U0014U0003 = new SwiftTagDefinition("StartOfBlock_C_16R", "Start Of Block");
      MT504.U0014U0003.TagName = ":16R:COLD";
      MT504.U0015U0003 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U0015U0003.Mandatory = false;
      MT504.U0014U0003.Elements.Add((SwiftDefinitionElement) MT504.U0015U0003);
      MT504.U0013U0003.Elements.Add((SwiftDefinitionElement) MT504.U0014U0003);
      MT504.U0016U0003 = new SwiftTagDefinition("Reference_C_20C", "Collateral Reference");
      MT504.U0016U0003.TagName = ":20C::";
      MT504.U0017U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0016U0003.Elements.Add((SwiftDefinitionElement) MT504.U0017U0003);
      MT504.U0018U0003 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT504.U0016U0003.Elements.Add((SwiftDefinitionElement) MT504.U0018U0003);
      MT504.U0013U0003.Elements.Add((SwiftDefinitionElement) MT504.U0016U0003);
      MT504.U0019U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0019U0003.Multiple = true;
      MT504.U001AU0003 = new SwiftTagDefinition("Indicator_C_22H", "Indicator");
      MT504.U001AU0003.TagName = ":22H::";
      MT504.U001AU0003.Multiple = true;
      MT504.U001BU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U001AU0003.Elements.Add((SwiftDefinitionElement) MT504.U001BU0003);
      MT504.U001CU0003 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U001AU0003.Elements.Add((SwiftDefinitionElement) MT504.U001CU0003);
      MT504.U0019U0003.Elements.Add((SwiftDefinitionElement) MT504.U001AU0003);
      MT504.U001DU0003 = new SwiftTagDefinition("Indicator_C_22F", "Indicator");
      MT504.U001DU0003.TagName = ":22F::";
      MT504.U001DU0003.Multiple = true;
      MT504.U001EU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U001DU0003.Elements.Add((SwiftDefinitionElement) MT504.U001EU0003);
      MT504.U001FU0003 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U001DU0003.Elements.Add((SwiftDefinitionElement) MT504.U001FU0003);
      MT504.U007FU0003 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U001DU0003.Elements.Add((SwiftDefinitionElement) MT504.U007FU0003);
      MT504.U0019U0003.Elements.Add((SwiftDefinitionElement) MT504.U001DU0003);
      MT504.U0013U0003.Elements.Add((SwiftDefinitionElement) MT504.U0019U0003);
      MT504.U0080U0003 = new SwiftTagDefinition("Date_C_98A", "Settlement Date");
      MT504.U0080U0003.TagName = ":98A::";
      MT504.U0080U0003.Mandatory = false;
      MT504.U0081U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0080U0003.Elements.Add((SwiftDefinitionElement) MT504.U0081U0003);
      MT504.U0082U0003 = new SwiftTagSubItemDefinition("Date", "Date");
      MT504.U0080U0003.Elements.Add((SwiftDefinitionElement) MT504.U0082U0003);
      MT504.U0013U0003.Elements.Add((SwiftDefinitionElement) MT504.U0080U0003);
      MT504.U0083U0003 = new SwiftTagSequenceDefinition("SequenceC1", "Securities Collateral Details");
      MT504.U0083U0003.Mandatory = false;
      MT504.U0084U0003 = new SwiftTagDefinition("StartOfBlock_C1_16R", "Start Of Block");
      MT504.U0084U0003.TagName = ":16R:SCOL";
      MT504.U0086U0003 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U0086U0003.Mandatory = false;
      MT504.U0084U0003.Elements.Add((SwiftDefinitionElement) MT504.U0086U0003);
      MT504.U0083U0003.Elements.Add((SwiftDefinitionElement) MT504.U0084U0003);
      MT504.U0087U0003 = new SwiftTagDefinition("IdentificationOfFinancialInstrument_C1_35B", "Identification Of The Financial Instrument");
      MT504.U0087U0003.TagName = ":35B:";
      MT504.U0088U0003 = new SwiftTagSubItemDefinition("IdentificationOfSecurity", "Identification Of Security");
      MT504.U0088U0003.Mandatory = false;
      MT504.U0089U0003 = new SwiftTagSubItemDefinition("IdentificationOfSecurity_1", "Identification Of Security");
      MT504.U0088U0003.Elements.Add((SwiftDefinitionElement) MT504.U0089U0003);
      MT504.U0087U0003.Elements.Add((SwiftDefinitionElement) MT504.U0088U0003);
      MT504.U008AU0003 = new SwiftTagSubItemDefinition("DescriptionOfSecurity", "Description of Security");
      MT504.U008AU0003.Mandatory = false;
      MT504.U0087U0003.Elements.Add((SwiftDefinitionElement) MT504.U008AU0003);
      MT504.U0083U0003.Elements.Add((SwiftDefinitionElement) MT504.U0087U0003);
      MT504.U008BU0003 = new SwiftTagDefinition("QuantityOfFinancialInstrument_C1_36B", "Quantity of Securities Collateral");
      MT504.U008BU0003.TagName = ":36B::";
      MT504.U008CU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U008BU0003.Elements.Add((SwiftDefinitionElement) MT504.U008CU0003);
      MT504.U008DU0003 = new SwiftTagSubItemDefinition("QuantityOfFinancialInstrument", "Quantity Type Code ,Quantity");
      MT504.U008EU0003 = new SwiftTagSubItemDefinition("QuantityTypeCode", "Quantity Type Code");
      MT504.U008DU0003.Elements.Add((SwiftDefinitionElement) MT504.U008EU0003);
      MT504.U008FU0003 = new SwiftTagSubItemDefinition("Quantity", "Quantity");
      MT504.U008DU0003.Elements.Add((SwiftDefinitionElement) MT504.U008FU0003);
      MT504.U008BU0003.Elements.Add((SwiftDefinitionElement) MT504.U008DU0003);
      MT504.U0083U0003.Elements.Add((SwiftDefinitionElement) MT504.U008BU0003);
      MT504.U0090U0003 = new SwiftTagDefinition("Flag_C1_17B", "Ownership Flag");
      MT504.U0090U0003.TagName = ":17B::";
      MT504.U0090U0003.Mandatory = false;
      MT504.U0091U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0090U0003.Elements.Add((SwiftDefinitionElement) MT504.U0091U0003);
      MT504.U0092U0003 = new SwiftTagSubItemDefinition("Flag", "Flag");
      MT504.U0090U0003.Elements.Add((SwiftDefinitionElement) MT504.U0092U0003);
      MT504.U0083U0003.Elements.Add((SwiftDefinitionElement) MT504.U0090U0003);
      MT504.U0093U0003 = new SwiftTagSequenceDefinition("SequenceC1a", "Settlement Details");
      MT504.U0093U0003.Mandatory = false;
      MT504.U0094U0003 = new SwiftTagDefinition("StartOfBlock_C1a_16R", "Start Of Block");
      MT504.U0094U0003.TagName = ":16R:SETDET";
      MT504.U0095U0003 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U0095U0003.Mandatory = false;
      MT504.U0094U0003.Elements.Add((SwiftDefinitionElement) MT504.U0095U0003);
      MT504.U0093U0003.Elements.Add((SwiftDefinitionElement) MT504.U0094U0003);
      MT504.U0096U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0096U0003.Multiple = true;
      MT504.U0097U0003 = new SwiftTagDefinition("Indicator_C1a_22H", "Indicator");
      MT504.U0097U0003.TagName = ":22H::";
      MT504.U0097U0003.Multiple = true;
      MT504.U0098U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0097U0003.Elements.Add((SwiftDefinitionElement) MT504.U0098U0003);
      MT504.U0099U0003 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U0097U0003.Elements.Add((SwiftDefinitionElement) MT504.U0099U0003);
      MT504.U0096U0003.Elements.Add((SwiftDefinitionElement) MT504.U0097U0003);
      MT504.U009AU0003 = new SwiftTagDefinition("Indicator_C1a_22F", "Indicator");
      MT504.U009AU0003.TagName = ":22F::";
      MT504.U009AU0003.Multiple = true;
      MT504.U009BU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U009AU0003.Elements.Add((SwiftDefinitionElement) MT504.U009BU0003);
      MT504.U009CU0003 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U009AU0003.Elements.Add((SwiftDefinitionElement) MT504.U009CU0003);
      MT504.U009DU0003 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U009AU0003.Elements.Add((SwiftDefinitionElement) MT504.U009DU0003);
      MT504.U0096U0003.Elements.Add((SwiftDefinitionElement) MT504.U009AU0003);
      MT504.U0093U0003.Elements.Add((SwiftDefinitionElement) MT504.U0096U0003);
      MT504.U009EU0003 = new SwiftTagSequenceDefinition("SequenceC1a1", "Settlement Parties");
      MT504.U009EU0003.Mandatory = false;
      MT504.U009EU0003.Multiple = true;
      MT504.U009FU0003 = new SwiftTagDefinition("StartOfBlock_C1a1_16R", "Start Of Block");
      MT504.U009FU0003.TagName = ":16R:SETPRTY";
      MT504.U0001U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U0001U0004.Mandatory = false;
      MT504.U009FU0003.Elements.Add((SwiftDefinitionElement) MT504.U0001U0004);
      MT504.U009EU0003.Elements.Add((SwiftDefinitionElement) MT504.U009FU0003);
      MT504.U0002U0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0002U0004.Multiple = true;
      MT504.U0003U0004 = new SwiftTagDefinition("Party_C1a1_95C", "Party");
      MT504.U0003U0004.TagName = ":95C::";
      MT504.U0003U0004.Multiple = true;
      MT504.U0004U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0003U0004.Elements.Add((SwiftDefinitionElement) MT504.U0004U0004);
      MT504.U0005U0004 = new SwiftTagSubItemDefinition("CountryCode", "Country Code");
      MT504.U0003U0004.Elements.Add((SwiftDefinitionElement) MT504.U0005U0004);
      MT504.U0002U0004.Elements.Add((SwiftDefinitionElement) MT504.U0003U0004);
      MT504.U0006U0004 = new SwiftTagDefinition("Party_C1a1_95P", "Party");
      MT504.U0006U0004.TagName = ":95P::";
      MT504.U0006U0004.Multiple = true;
      MT504.U0007U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0006U0004.Elements.Add((SwiftDefinitionElement) MT504.U0007U0004);
      MT504.U0008U0004 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT504.U0006U0004.Elements.Add((SwiftDefinitionElement) MT504.U0008U0004);
      MT504.U0002U0004.Elements.Add((SwiftDefinitionElement) MT504.U0006U0004);
      MT504.U000EU0004 = new SwiftTagDefinition("Party_C1a1_95Q", "Party");
      MT504.U000EU0004.TagName = ":95Q::";
      MT504.U000EU0004.Multiple = true;
      MT504.U000FU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U000EU0004.Elements.Add((SwiftDefinitionElement) MT504.U000FU0004);
      MT504.U0010U0004 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name And Address");
      MT504.U000EU0004.Elements.Add((SwiftDefinitionElement) MT504.U0010U0004);
      MT504.U0002U0004.Elements.Add((SwiftDefinitionElement) MT504.U000EU0004);
      MT504.U0011U0004 = new SwiftTagDefinition("Party_C1a1_95R", "Party");
      MT504.U0011U0004.TagName = ":95R::";
      MT504.U0011U0004.Multiple = true;
      MT504.U0012U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0011U0004.Elements.Add((SwiftDefinitionElement) MT504.U0012U0004);
      MT504.U0013U0004 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT504.U0011U0004.Elements.Add((SwiftDefinitionElement) MT504.U0013U0004);
      MT504.U0014U0004 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT504.U0011U0004.Elements.Add((SwiftDefinitionElement) MT504.U0014U0004);
      MT504.U0002U0004.Elements.Add((SwiftDefinitionElement) MT504.U0011U0004);
      MT504.U0015U0004 = new SwiftTagDefinition("Party_C1a1_95S", "Party");
      MT504.U0015U0004.TagName = ":95S::";
      MT504.U0015U0004.Multiple = true;
      MT504.U0016U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0015U0004.Elements.Add((SwiftDefinitionElement) MT504.U0016U0004);
      MT504.U0017U0004 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U0015U0004.Elements.Add((SwiftDefinitionElement) MT504.U0017U0004);
      MT504.U0018U0004 = new SwiftTagSubItemDefinition("TypeOfID", "Type Of ID");
      MT504.U0015U0004.Elements.Add((SwiftDefinitionElement) MT504.U0018U0004);
      MT504.U0019U0004 = new SwiftTagSubItemDefinition("CountryCode", "Country Code");
      MT504.U0015U0004.Elements.Add((SwiftDefinitionElement) MT504.U0019U0004);
      MT504.U001AU0004 = new SwiftTagSubItemDefinition("AlternateID", "Alternate ID");
      MT504.U0015U0004.Elements.Add((SwiftDefinitionElement) MT504.U001AU0004);
      MT504.U0002U0004.Elements.Add((SwiftDefinitionElement) MT504.U0015U0004);
      MT504.U009EU0003.Elements.Add((SwiftDefinitionElement) MT504.U0002U0004);
      MT504.U001BU0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U001BU0004.Mandatory = false;
      MT504.U001BU0004.Multiple = true;
      MT504.U001CU0004 = new SwiftTagDefinition("Account_C1a1_97A", "Safe Keeping Account");
      MT504.U001CU0004.TagName = ":97A::";
      MT504.U001DU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U001CU0004.Elements.Add((SwiftDefinitionElement) MT504.U001DU0004);
      MT504.U001EU0004 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT504.U001CU0004.Elements.Add((SwiftDefinitionElement) MT504.U001EU0004);
      MT504.U001BU0004.Elements.Add((SwiftDefinitionElement) MT504.U001CU0004);
      MT504.U001FU0004 = new SwiftTagDefinition("Account_C1a1_97B", "Safe Keeping Account");
      MT504.U001FU0004.TagName = ":97B::";
      MT504.U007FU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U001FU0004.Elements.Add((SwiftDefinitionElement) MT504.U007FU0004);
      MT504.U0080U0004 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U001FU0004.Elements.Add((SwiftDefinitionElement) MT504.U0080U0004);
      MT504.U0081U0004 = new SwiftTagSubItemDefinition("AccountTypeCode", "Account Type Code");
      MT504.U001FU0004.Elements.Add((SwiftDefinitionElement) MT504.U0081U0004);
      MT504.U0082U0004 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT504.U001FU0004.Elements.Add((SwiftDefinitionElement) MT504.U0082U0004);
      MT504.U001BU0004.Elements.Add((SwiftDefinitionElement) MT504.U001FU0004);
      MT504.U009EU0003.Elements.Add((SwiftDefinitionElement) MT504.U001BU0004);
      MT504.U0083U0004 = new SwiftTagDefinition("Narrative_C1a1_70C", "Party Contact Narrative");
      MT504.U0083U0004.TagName = ":70C::";
      MT504.U0083U0004.Mandatory = false;
      MT504.U0084U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0083U0004.Elements.Add((SwiftDefinitionElement) MT504.U0084U0004);
      MT504.U0086U0004 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT504.U0083U0004.Elements.Add((SwiftDefinitionElement) MT504.U0086U0004);
      MT504.U009EU0003.Elements.Add((SwiftDefinitionElement) MT504.U0083U0004);
      MT504.U0087U0004 = new SwiftTagDefinition("EndOfBlock_C1a1_16S", "End Of Block");
      MT504.U0087U0004.TagName = ":16S:SETPRTY";
      MT504.U0088U0004 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0088U0004.Mandatory = false;
      MT504.U0087U0004.Elements.Add((SwiftDefinitionElement) MT504.U0088U0004);
      MT504.U009EU0003.Elements.Add((SwiftDefinitionElement) MT504.U0087U0004);
      MT504.U0093U0003.Elements.Add((SwiftDefinitionElement) MT504.U009EU0003);
      MT504.U0089U0004 = new SwiftTagDefinition("EndOfBlock_C1a_16S", "End Of Block");
      MT504.U0089U0004.TagName = ":16S:SETDET";
      MT504.U008AU0004 = new SwiftTagSubItemDefinition("EndOfBlock", "EndOfBlock");
      MT504.U008AU0004.Mandatory = false;
      MT504.U0089U0004.Elements.Add((SwiftDefinitionElement) MT504.U008AU0004);
      MT504.U0093U0003.Elements.Add((SwiftDefinitionElement) MT504.U0089U0004);
      MT504.U0083U0003.Elements.Add((SwiftDefinitionElement) MT504.U0093U0003);
      MT504.U008BU0004 = new SwiftTagDefinition("EndOfBlock_C1_16S", "End Of Block");
      MT504.U008BU0004.TagName = ":16S:SCOL";
      MT504.U008CU0004 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U008CU0004.Mandatory = false;
      MT504.U008BU0004.Elements.Add((SwiftDefinitionElement) MT504.U008CU0004);
      MT504.U0083U0003.Elements.Add((SwiftDefinitionElement) MT504.U008BU0004);
      MT504.U0013U0003.Elements.Add((SwiftDefinitionElement) MT504.U0083U0003);
      MT504.U008DU0004 = new SwiftTagSequenceDefinition("SequenceC2", "Cash Collateral Details");
      MT504.U008DU0004.Mandatory = false;
      MT504.U008EU0004 = new SwiftTagDefinition("StartOfBlock_C2_16R", "Start Of Block");
      MT504.U008EU0004.TagName = ":16R:CCOL";
      MT504.U008FU0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U008FU0004.Mandatory = false;
      MT504.U008EU0004.Elements.Add((SwiftDefinitionElement) MT504.U008FU0004);
      MT504.U008DU0004.Elements.Add((SwiftDefinitionElement) MT504.U008EU0004);
      MT504.U0090U0004 = new SwiftTagDefinition("Amount_C2_19B", "Deposit Amount");
      MT504.U0090U0004.TagName = ":19B::";
      MT504.U0091U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0090U0004.Elements.Add((SwiftDefinitionElement) MT504.U0091U0004);
      MT504.U0092U0004 = new SwiftTagSubItemDefinition("Amount", "Currency Code And Amount");
      MT504.U0093U0004 = new SwiftTagSubItemDefinition("CurrencyCode", "Currency Code");
      MT504.U0092U0004.Elements.Add((SwiftDefinitionElement) MT504.U0093U0004);
      MT504.U0094U0004 = new SwiftTagSubItemDefinition("Amount_1", "Amount");
      MT504.U0092U0004.Elements.Add((SwiftDefinitionElement) MT504.U0094U0004);
      MT504.U0090U0004.Elements.Add((SwiftDefinitionElement) MT504.U0092U0004);
      MT504.U008DU0004.Elements.Add((SwiftDefinitionElement) MT504.U0090U0004);
      MT504.U0095U0004 = new SwiftTagDefinition("Indicator_C2_22H", "Type of Deposit Indicator");
      MT504.U0095U0004.TagName = ":22H::";
      MT504.U0096U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0095U0004.Elements.Add((SwiftDefinitionElement) MT504.U0096U0004);
      MT504.U0097U0004 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U0095U0004.Elements.Add((SwiftDefinitionElement) MT504.U0097U0004);
      MT504.U008DU0004.Elements.Add((SwiftDefinitionElement) MT504.U0095U0004);
      MT504.U0098U0004 = new SwiftTagDefinition("Date_C2_98A", "Maturity Date");
      MT504.U0098U0004.TagName = ":98A::";
      MT504.U0098U0004.Mandatory = false;
      MT504.U0099U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0098U0004.Elements.Add((SwiftDefinitionElement) MT504.U0099U0004);
      MT504.U009AU0004 = new SwiftTagSubItemDefinition("Date", "Date");
      MT504.U0098U0004.Elements.Add((SwiftDefinitionElement) MT504.U009AU0004);
      MT504.U008DU0004.Elements.Add((SwiftDefinitionElement) MT504.U0098U0004);
      MT504.U009BU0004 = new SwiftTagSequenceDefinition("SequenceC2a", "Cash Settlement Details");
      MT504.U009BU0004.Mandatory = false;
      MT504.U009CU0004 = new SwiftTagDefinition("StartOfBlock_C2a_16R", "Start Of Block");
      MT504.U009CU0004.TagName = ":16R:CASHSET";
      MT504.U009DU0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U009DU0004.Mandatory = false;
      MT504.U009CU0004.Elements.Add((SwiftDefinitionElement) MT504.U009DU0004);
      MT504.U009BU0004.Elements.Add((SwiftDefinitionElement) MT504.U009CU0004);
      MT504.U009EU0004 = new SwiftTagDefinition("Indicator_C2a_22F", "Settlement Transaction Condition");
      MT504.U009EU0004.TagName = ":22F::";
      MT504.U009EU0004.Mandatory = false;
      MT504.U009FU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U009EU0004.Elements.Add((SwiftDefinitionElement) MT504.U009FU0004);
      MT504.U0001U0005 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U009EU0004.Elements.Add((SwiftDefinitionElement) MT504.U0001U0005);
      MT504.U0002U0005 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U009EU0004.Elements.Add((SwiftDefinitionElement) MT504.U0002U0005);
      MT504.U009BU0004.Elements.Add((SwiftDefinitionElement) MT504.U009EU0004);
      MT504.U0003U0005 = new SwiftTagSequenceDefinition("SequenceC2a1", "Cash Parties");
      MT504.U0003U0005.Mandatory = false;
      MT504.U0003U0005.Multiple = true;
      MT504.U0004U0005 = new SwiftTagDefinition("StartOfBlock_C2a1_16R", "Start Of Block");
      MT504.U0004U0005.TagName = ":16R:CSHPRTY";
      MT504.U0005U0005 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U0005U0005.Mandatory = false;
      MT504.U0004U0005.Elements.Add((SwiftDefinitionElement) MT504.U0005U0005);
      MT504.U0003U0005.Elements.Add((SwiftDefinitionElement) MT504.U0004U0005);
      MT504.U0006U0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0006U0005.Multiple = true;
      MT504.U0007U0005 = new SwiftTagDefinition("Party_C2a1_95P", "Party");
      MT504.U0007U0005.TagName = ":95P::";
      MT504.U0007U0005.Multiple = true;
      MT504.U0008U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0007U0005.Elements.Add((SwiftDefinitionElement) MT504.U0008U0005);
      MT504.U000EU0005 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT504.U0007U0005.Elements.Add((SwiftDefinitionElement) MT504.U000EU0005);
      MT504.U0006U0005.Elements.Add((SwiftDefinitionElement) MT504.U0007U0005);
      MT504.U000FU0005 = new SwiftTagDefinition("Party_C2a1_95Q", "Party");
      MT504.U000FU0005.TagName = ":95Q::";
      MT504.U000FU0005.Multiple = true;
      MT504.U0010U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U000FU0005.Elements.Add((SwiftDefinitionElement) MT504.U0010U0005);
      MT504.U0011U0005 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name And Address");
      MT504.U000FU0005.Elements.Add((SwiftDefinitionElement) MT504.U0011U0005);
      MT504.U0006U0005.Elements.Add((SwiftDefinitionElement) MT504.U000FU0005);
      MT504.U0012U0005 = new SwiftTagDefinition("Party_C2a1_95R", "Party");
      MT504.U0012U0005.TagName = ":95R::";
      MT504.U0012U0005.Multiple = true;
      MT504.U0013U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0012U0005.Elements.Add((SwiftDefinitionElement) MT504.U0013U0005);
      MT504.U0014U0005 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT504.U0012U0005.Elements.Add((SwiftDefinitionElement) MT504.U0014U0005);
      MT504.U0015U0005 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT504.U0012U0005.Elements.Add((SwiftDefinitionElement) MT504.U0015U0005);
      MT504.U0006U0005.Elements.Add((SwiftDefinitionElement) MT504.U0012U0005);
      MT504.U0016U0005 = new SwiftTagDefinition("Party_C2a1_95S", "Party");
      MT504.U0016U0005.TagName = ":95S::";
      MT504.U0016U0005.Multiple = true;
      MT504.U0017U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0016U0005.Elements.Add((SwiftDefinitionElement) MT504.U0017U0005);
      MT504.U0018U0005 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U0016U0005.Elements.Add((SwiftDefinitionElement) MT504.U0018U0005);
      MT504.U0019U0005 = new SwiftTagSubItemDefinition("TypeOfID", "Type Of ID");
      MT504.U0016U0005.Elements.Add((SwiftDefinitionElement) MT504.U0019U0005);
      MT504.U001AU0005 = new SwiftTagSubItemDefinition("CountryCode", "Country Code");
      MT504.U0016U0005.Elements.Add((SwiftDefinitionElement) MT504.U001AU0005);
      MT504.U001BU0005 = new SwiftTagSubItemDefinition("AlternateID", "Alternate ID");
      MT504.U0016U0005.Elements.Add((SwiftDefinitionElement) MT504.U001BU0005);
      MT504.U0006U0005.Elements.Add((SwiftDefinitionElement) MT504.U0016U0005);
      MT504.U0003U0005.Elements.Add((SwiftDefinitionElement) MT504.U0006U0005);
      MT504.U001CU0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U001CU0005.Mandatory = false;
      MT504.U001CU0005.Multiple = true;
      MT504.U001DU0005 = new SwiftTagDefinition("Account_C2a1_97A", "Account");
      MT504.U001DU0005.TagName = ":97A::";
      MT504.U001DU0005.Multiple = true;
      MT504.U001EU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U001DU0005.Elements.Add((SwiftDefinitionElement) MT504.U001EU0005);
      MT504.U001FU0005 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT504.U001DU0005.Elements.Add((SwiftDefinitionElement) MT504.U001FU0005);
      MT504.U001CU0005.Elements.Add((SwiftDefinitionElement) MT504.U001DU0005);
      MT504.U007FU0005 = new SwiftTagDefinition("Account_C2a1_97E", "Account");
      MT504.U007FU0005.TagName = ":97E::";
      MT504.U007FU0005.Multiple = true;
      MT504.U0080U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U007FU0005.Elements.Add((SwiftDefinitionElement) MT504.U0080U0005);
      MT504.U0081U0005 = new SwiftTagSubItemDefinition("InternationalBankAccountNumber", "International Bank Account Number");
      MT504.U007FU0005.Elements.Add((SwiftDefinitionElement) MT504.U0081U0005);
      MT504.U001CU0005.Elements.Add((SwiftDefinitionElement) MT504.U007FU0005);
      MT504.U0003U0005.Elements.Add((SwiftDefinitionElement) MT504.U001CU0005);
      MT504.U0082U0005 = new SwiftTagDefinition("Narrative_C2a1_70C", "Party Contact Narrative");
      MT504.U0082U0005.TagName = ":70C::";
      MT504.U0082U0005.Mandatory = false;
      MT504.U0083U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0082U0005.Elements.Add((SwiftDefinitionElement) MT504.U0083U0005);
      MT504.U0084U0005 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT504.U0082U0005.Elements.Add((SwiftDefinitionElement) MT504.U0084U0005);
      MT504.U0003U0005.Elements.Add((SwiftDefinitionElement) MT504.U0082U0005);
      MT504.U0086U0005 = new SwiftTagDefinition("EndOfBlock_C2a1_16S", "End Of Block");
      MT504.U0086U0005.TagName = ":16S:CSHPRTY";
      MT504.U0087U0005 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0087U0005.Mandatory = false;
      MT504.U0086U0005.Elements.Add((SwiftDefinitionElement) MT504.U0087U0005);
      MT504.U0003U0005.Elements.Add((SwiftDefinitionElement) MT504.U0086U0005);
      MT504.U009BU0004.Elements.Add((SwiftDefinitionElement) MT504.U0003U0005);
      MT504.U0088U0005 = new SwiftTagDefinition("EndOfBlock_C2a_16S", "End Of Block");
      MT504.U0088U0005.TagName = ":16S:CASHSET";
      MT504.U0089U0005 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0089U0005.Mandatory = false;
      MT504.U0088U0005.Elements.Add((SwiftDefinitionElement) MT504.U0089U0005);
      MT504.U009BU0004.Elements.Add((SwiftDefinitionElement) MT504.U0088U0005);
      MT504.U008DU0004.Elements.Add((SwiftDefinitionElement) MT504.U009BU0004);
      MT504.U008AU0005 = new SwiftTagDefinition("EndOfBlock_C2_16S", "End Of Block");
      MT504.U008AU0005.TagName = ":16S:CCOL";
      MT504.U008BU0005 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U008BU0005.Mandatory = false;
      MT504.U008AU0005.Elements.Add((SwiftDefinitionElement) MT504.U008BU0005);
      MT504.U008DU0004.Elements.Add((SwiftDefinitionElement) MT504.U008AU0005);
      MT504.U0013U0003.Elements.Add((SwiftDefinitionElement) MT504.U008DU0004);
      MT504.U008CU0005 = new SwiftTagSequenceDefinition("SequenceC3", "Other Collateral Details");
      MT504.U008CU0005.Mandatory = false;
      MT504.U008DU0005 = new SwiftTagDefinition("StartOfBlock_C3_16R", "Start Of Block");
      MT504.U008DU0005.TagName = ":16R:BCOL";
      MT504.U008EU0005 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U008EU0005.Mandatory = false;
      MT504.U008DU0005.Elements.Add((SwiftDefinitionElement) MT504.U008EU0005);
      MT504.U008CU0005.Elements.Add((SwiftDefinitionElement) MT504.U008DU0005);
      MT504.U008FU0005 = new SwiftTagDefinition("Indicator_C3_22H", "Type of Other Collateral Indicator");
      MT504.U008FU0005.TagName = ":22H::";
      MT504.U0090U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U008FU0005.Elements.Add((SwiftDefinitionElement) MT504.U0090U0005);
      MT504.U0091U0005 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U008FU0005.Elements.Add((SwiftDefinitionElement) MT504.U0091U0005);
      MT504.U008CU0005.Elements.Add((SwiftDefinitionElement) MT504.U008FU0005);
      MT504.U0092U0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0092U0005.Multiple = true;
      MT504.U0093U0005 = new SwiftTagDefinition("Date_C3_98A", "Date");
      MT504.U0093U0005.TagName = ":98A::";
      MT504.U0093U0005.Multiple = true;
      MT504.U0094U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0093U0005.Elements.Add((SwiftDefinitionElement) MT504.U0094U0005);
      MT504.U0095U0005 = new SwiftTagSubItemDefinition("Date", "Date");
      MT504.U0093U0005.Elements.Add((SwiftDefinitionElement) MT504.U0095U0005);
      MT504.U0092U0005.Elements.Add((SwiftDefinitionElement) MT504.U0093U0005);
      MT504.U0096U0005 = new SwiftTagDefinition("DateCode_C3_98B", "Date Code");
      MT504.U0096U0005.TagName = ":98B::";
      MT504.U0096U0005.Multiple = true;
      MT504.U0097U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0096U0005.Elements.Add((SwiftDefinitionElement) MT504.U0097U0005);
      MT504.U0098U0005 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U0096U0005.Elements.Add((SwiftDefinitionElement) MT504.U0098U0005);
      MT504.U0099U0005 = new SwiftTagSubItemDefinition("DateCode", "Date Code");
      MT504.U0096U0005.Elements.Add((SwiftDefinitionElement) MT504.U0099U0005);
      MT504.U0092U0005.Elements.Add((SwiftDefinitionElement) MT504.U0096U0005);
      MT504.U008CU0005.Elements.Add((SwiftDefinitionElement) MT504.U0092U0005);
      MT504.U009AU0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U009AU0005.Multiple = true;
      MT504.U009BU0005 = new SwiftTagDefinition("Party_C3_95P", "Party");
      MT504.U009BU0005.TagName = ":95P::";
      MT504.U009CU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U009BU0005.Elements.Add((SwiftDefinitionElement) MT504.U009CU0005);
      MT504.U009DU0005 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT504.U009BU0005.Elements.Add((SwiftDefinitionElement) MT504.U009DU0005);
      MT504.U009AU0005.Elements.Add((SwiftDefinitionElement) MT504.U009BU0005);
      MT504.U009EU0005 = new SwiftTagDefinition("Party_C3_95Q", "Party");
      MT504.U009EU0005.TagName = ":95Q::";
      MT504.U009FU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U009EU0005.Elements.Add((SwiftDefinitionElement) MT504.U009FU0005);
      MT504.U0001U0006 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name And Address");
      MT504.U009EU0005.Elements.Add((SwiftDefinitionElement) MT504.U0001U0006);
      MT504.U009AU0005.Elements.Add((SwiftDefinitionElement) MT504.U009EU0005);
      MT504.U0002U0006 = new SwiftTagDefinition("Party_C3_95R", "Party");
      MT504.U0002U0006.TagName = ":95R::";
      MT504.U0003U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0002U0006.Elements.Add((SwiftDefinitionElement) MT504.U0003U0006);
      MT504.U0004U0006 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT504.U0002U0006.Elements.Add((SwiftDefinitionElement) MT504.U0004U0006);
      MT504.U0005U0006 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT504.U0002U0006.Elements.Add((SwiftDefinitionElement) MT504.U0005U0006);
      MT504.U009AU0005.Elements.Add((SwiftDefinitionElement) MT504.U0002U0006);
      MT504.U008CU0005.Elements.Add((SwiftDefinitionElement) MT504.U009AU0005);
      MT504.U0006U0006 = new SwiftTagDefinition("Amount_C3_19B", "Amount");
      MT504.U0006U0006.TagName = ":19B::";
      MT504.U0007U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0006U0006.Elements.Add((SwiftDefinitionElement) MT504.U0007U0006);
      MT504.U0008U0006 = new SwiftTagSubItemDefinition("Amount", "Currency Code and Amount");
      MT504.U000EU0006 = new SwiftTagSubItemDefinition("CurrencyCode", "Currency Code");
      MT504.U0008U0006.Elements.Add((SwiftDefinitionElement) MT504.U000EU0006);
      MT504.U000FU0006 = new SwiftTagSubItemDefinition("Amount_1", "Amount");
      MT504.U0008U0006.Elements.Add((SwiftDefinitionElement) MT504.U000FU0006);
      MT504.U0006U0006.Elements.Add((SwiftDefinitionElement) MT504.U0008U0006);
      MT504.U008CU0005.Elements.Add((SwiftDefinitionElement) MT504.U0006U0006);
      MT504.U0010U0006 = new SwiftTagDefinition("EndOfBlock_C3_16S", "End Of Block");
      MT504.U0010U0006.TagName = ":16S:BCOL";
      MT504.U0011U0006 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0011U0006.Mandatory = false;
      MT504.U0010U0006.Elements.Add((SwiftDefinitionElement) MT504.U0011U0006);
      MT504.U008CU0005.Elements.Add((SwiftDefinitionElement) MT504.U0010U0006);
      MT504.U0013U0003.Elements.Add((SwiftDefinitionElement) MT504.U008CU0005);
      MT504.U0012U0006 = new SwiftTagDefinition("EndOfBlock_C_16S", "End Of Block");
      MT504.U0012U0006.TagName = ":16S:COLD";
      MT504.U0013U0006 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0013U0006.Mandatory = false;
      MT504.U0012U0006.Elements.Add((SwiftDefinitionElement) MT504.U0013U0006);
      MT504.U0013U0003.Elements.Add((SwiftDefinitionElement) MT504.U0012U0006);
      MT504.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT504.U0013U0003);
      MT504.U0014U0006 = new SwiftTagSequenceDefinition("SequenceD", "Settlement Details");
      MT504.U0014U0006.Mandatory = false;
      MT504.U0015U0006 = new SwiftTagDefinition("StartOfBlock_D_16R", "Start Of Block");
      MT504.U0015U0006.TagName = ":16R:SETDET1";
      MT504.U0016U0006 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U0016U0006.Mandatory = false;
      MT504.U0015U0006.Elements.Add((SwiftDefinitionElement) MT504.U0016U0006);
      MT504.U0014U0006.Elements.Add((SwiftDefinitionElement) MT504.U0015U0006);
      MT504.U0017U0006 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0017U0006.Multiple = true;
      MT504.U0018U0006 = new SwiftTagDefinition("Indicator_D_22H", "Indicator");
      MT504.U0018U0006.TagName = ":22H::";
      MT504.U0018U0006.Multiple = true;
      MT504.U0019U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0018U0006.Elements.Add((SwiftDefinitionElement) MT504.U0019U0006);
      MT504.U001AU0006 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U0018U0006.Elements.Add((SwiftDefinitionElement) MT504.U001AU0006);
      MT504.U0017U0006.Elements.Add((SwiftDefinitionElement) MT504.U0018U0006);
      MT504.U001BU0006 = new SwiftTagDefinition("Indicator_D_22F", "Indicator");
      MT504.U001BU0006.TagName = ":22F::";
      MT504.U001BU0006.Multiple = true;
      MT504.U001CU0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U001BU0006.Elements.Add((SwiftDefinitionElement) MT504.U001CU0006);
      MT504.U001DU0006 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U001BU0006.Elements.Add((SwiftDefinitionElement) MT504.U001DU0006);
      MT504.U001EU0006 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U001BU0006.Elements.Add((SwiftDefinitionElement) MT504.U001EU0006);
      MT504.U0017U0006.Elements.Add((SwiftDefinitionElement) MT504.U001BU0006);
      MT504.U0014U0006.Elements.Add((SwiftDefinitionElement) MT504.U0017U0006);
      MT504.U001FU0006 = new SwiftTagSequenceDefinition("SequenceD1", "Settlement Parties");
      MT504.U001FU0006.Mandatory = false;
      MT504.U001FU0006.Multiple = true;
      MT504.U007FU0006 = new SwiftTagDefinition("StartOfBlock_D1_16R", "Start Of Block");
      MT504.U007FU0006.TagName = ":16R:SETPRTY1";
      MT504.U0080U0006 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U0080U0006.Mandatory = false;
      MT504.U007FU0006.Elements.Add((SwiftDefinitionElement) MT504.U0080U0006);
      MT504.U001FU0006.Elements.Add((SwiftDefinitionElement) MT504.U007FU0006);
      MT504.U0081U0006 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0081U0006.Multiple = true;
      MT504.U0082U0006 = new SwiftTagDefinition("Party_D1_95C", "Party");
      MT504.U0082U0006.TagName = ":95C::";
      MT504.U0082U0006.Multiple = true;
      MT504.U0083U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0082U0006.Elements.Add((SwiftDefinitionElement) MT504.U0083U0006);
      MT504.U0084U0006 = new SwiftTagSubItemDefinition("CountryCode", "Country Code");
      MT504.U0082U0006.Elements.Add((SwiftDefinitionElement) MT504.U0084U0006);
      MT504.U0081U0006.Elements.Add((SwiftDefinitionElement) MT504.U0082U0006);
      MT504.U0086U0006 = new SwiftTagDefinition("Party_D1_95P", "Party");
      MT504.U0086U0006.TagName = ":95P::";
      MT504.U0086U0006.Multiple = true;
      MT504.U0087U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0086U0006.Elements.Add((SwiftDefinitionElement) MT504.U0087U0006);
      MT504.U0088U0006 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT504.U0086U0006.Elements.Add((SwiftDefinitionElement) MT504.U0088U0006);
      MT504.U0081U0006.Elements.Add((SwiftDefinitionElement) MT504.U0086U0006);
      MT504.U0089U0006 = new SwiftTagDefinition("Party_D1_95Q", "Party");
      MT504.U0089U0006.TagName = ":95Q::";
      MT504.U0089U0006.Multiple = true;
      MT504.U008AU0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0089U0006.Elements.Add((SwiftDefinitionElement) MT504.U008AU0006);
      MT504.U008BU0006 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name And Address");
      MT504.U0089U0006.Elements.Add((SwiftDefinitionElement) MT504.U008BU0006);
      MT504.U0081U0006.Elements.Add((SwiftDefinitionElement) MT504.U0089U0006);
      MT504.U008CU0006 = new SwiftTagDefinition("Party_D1_95R", "Party");
      MT504.U008CU0006.TagName = ":95R::";
      MT504.U008CU0006.Multiple = true;
      MT504.U008DU0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U008CU0006.Elements.Add((SwiftDefinitionElement) MT504.U008DU0006);
      MT504.U008EU0006 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT504.U008CU0006.Elements.Add((SwiftDefinitionElement) MT504.U008EU0006);
      MT504.U008FU0006 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT504.U008CU0006.Elements.Add((SwiftDefinitionElement) MT504.U008FU0006);
      MT504.U0081U0006.Elements.Add((SwiftDefinitionElement) MT504.U008CU0006);
      MT504.U0090U0006 = new SwiftTagDefinition("Party_D1_95S", "Party");
      MT504.U0090U0006.TagName = ":95S::";
      MT504.U0090U0006.Multiple = true;
      MT504.U0091U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0090U0006.Elements.Add((SwiftDefinitionElement) MT504.U0091U0006);
      MT504.U0092U0006 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U0090U0006.Elements.Add((SwiftDefinitionElement) MT504.U0092U0006);
      MT504.U0093U0006 = new SwiftTagSubItemDefinition("TypeOfID", "Type Of ID");
      MT504.U0090U0006.Elements.Add((SwiftDefinitionElement) MT504.U0093U0006);
      MT504.U0094U0006 = new SwiftTagSubItemDefinition("CountryCode", "Country Code");
      MT504.U0090U0006.Elements.Add((SwiftDefinitionElement) MT504.U0094U0006);
      MT504.U0095U0006 = new SwiftTagSubItemDefinition("AlternateID", "Alternate ID");
      MT504.U0090U0006.Elements.Add((SwiftDefinitionElement) MT504.U0095U0006);
      MT504.U0081U0006.Elements.Add((SwiftDefinitionElement) MT504.U0090U0006);
      MT504.U001FU0006.Elements.Add((SwiftDefinitionElement) MT504.U0081U0006);
      MT504.U0096U0006 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0096U0006.Mandatory = false;
      MT504.U0096U0006.Multiple = true;
      MT504.U0097U0006 = new SwiftTagDefinition("Account_D1_97A", "Safe Keeping Account");
      MT504.U0097U0006.TagName = ":97A::";
      MT504.U0098U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0097U0006.Elements.Add((SwiftDefinitionElement) MT504.U0098U0006);
      MT504.U0099U0006 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT504.U0097U0006.Elements.Add((SwiftDefinitionElement) MT504.U0099U0006);
      MT504.U0096U0006.Elements.Add((SwiftDefinitionElement) MT504.U0097U0006);
      MT504.U009AU0006 = new SwiftTagDefinition("Account_D1_97B", "Safe Keeping Account");
      MT504.U009AU0006.TagName = ":97B::";
      MT504.U009BU0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U009AU0006.Elements.Add((SwiftDefinitionElement) MT504.U009BU0006);
      MT504.U009CU0006 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U009AU0006.Elements.Add((SwiftDefinitionElement) MT504.U009CU0006);
      MT504.U009DU0006 = new SwiftTagSubItemDefinition("AccountTypeCode", "Account  Type Code");
      MT504.U009AU0006.Elements.Add((SwiftDefinitionElement) MT504.U009DU0006);
      MT504.U009EU0006 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT504.U009AU0006.Elements.Add((SwiftDefinitionElement) MT504.U009EU0006);
      MT504.U0096U0006.Elements.Add((SwiftDefinitionElement) MT504.U009AU0006);
      MT504.U001FU0006.Elements.Add((SwiftDefinitionElement) MT504.U0096U0006);
      MT504.U009FU0006 = new SwiftTagDefinition("Narrative_D1_70C", "Party Contact Narrative");
      MT504.U009FU0006.TagName = ":70C::";
      MT504.U009FU0006.Mandatory = false;
      MT504.U0001U0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U009FU0006.Elements.Add((SwiftDefinitionElement) MT504.U0001U0007);
      MT504.U0002U0007 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT504.U009FU0006.Elements.Add((SwiftDefinitionElement) MT504.U0002U0007);
      MT504.U001FU0006.Elements.Add((SwiftDefinitionElement) MT504.U009FU0006);
      MT504.U0003U0007 = new SwiftTagDefinition("EndOfBlock_D1_16S", "End Of Block");
      MT504.U0003U0007.TagName = ":16S:SETPRTY1";
      MT504.U0004U0007 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0004U0007.Mandatory = false;
      MT504.U0003U0007.Elements.Add((SwiftDefinitionElement) MT504.U0004U0007);
      MT504.U001FU0006.Elements.Add((SwiftDefinitionElement) MT504.U0003U0007);
      MT504.U0014U0006.Elements.Add((SwiftDefinitionElement) MT504.U001FU0006);
      MT504.U0005U0007 = new SwiftTagDefinition("EndOfBlock_D_16S", "End Of Block");
      MT504.U0005U0007.TagName = ":16S:SETDET1";
      MT504.U0006U0007 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0006U0007.Mandatory = false;
      MT504.U0005U0007.Elements.Add((SwiftDefinitionElement) MT504.U0006U0007);
      MT504.U0014U0006.Elements.Add((SwiftDefinitionElement) MT504.U0005U0007);
      MT504.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT504.U0014U0006);
      MT504.U0007U0007 = new SwiftTagSequenceDefinition("SequenceE", "Cash Settlement Details");
      MT504.U0007U0007.Mandatory = false;
      MT504.U0008U0007 = new SwiftTagDefinition("StartOfBlock_E_16R", "Start Of Block");
      MT504.U0008U0007.TagName = ":16R:CASHSET1";
      MT504.U000EU0007 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U000EU0007.Mandatory = false;
      MT504.U0008U0007.Elements.Add((SwiftDefinitionElement) MT504.U000EU0007);
      MT504.U0007U0007.Elements.Add((SwiftDefinitionElement) MT504.U0008U0007);
      MT504.U000FU0007 = new SwiftTagDefinition("Indicator_E_22F", "Settlement Transaction Condition");
      MT504.U000FU0007.TagName = ":22F::";
      MT504.U000FU0007.Mandatory = false;
      MT504.U0010U0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U000FU0007.Elements.Add((SwiftDefinitionElement) MT504.U0010U0007);
      MT504.U0011U0007 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U000FU0007.Elements.Add((SwiftDefinitionElement) MT504.U0011U0007);
      MT504.U0012U0007 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT504.U000FU0007.Elements.Add((SwiftDefinitionElement) MT504.U0012U0007);
      MT504.U0007U0007.Elements.Add((SwiftDefinitionElement) MT504.U000FU0007);
      MT504.U0013U0007 = new SwiftTagSequenceDefinition("SequenceE1", "Cash Parties");
      MT504.U0013U0007.Mandatory = false;
      MT504.U0013U0007.Multiple = true;
      MT504.U0014U0007 = new SwiftTagDefinition("StartOfBlock_E1_16R", "Start Of Block");
      MT504.U0014U0007.TagName = ":16R:CSHPRTY1";
      MT504.U0015U0007 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT504.U0015U0007.Mandatory = false;
      MT504.U0014U0007.Elements.Add((SwiftDefinitionElement) MT504.U0015U0007);
      MT504.U0013U0007.Elements.Add((SwiftDefinitionElement) MT504.U0014U0007);
      MT504.U0016U0007 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0016U0007.Multiple = true;
      MT504.U0017U0007 = new SwiftTagDefinition("Party_E1_95P", "Party");
      MT504.U0017U0007.TagName = ":95P::";
      MT504.U0017U0007.Multiple = true;
      MT504.U0018U0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0017U0007.Elements.Add((SwiftDefinitionElement) MT504.U0018U0007);
      MT504.U0019U0007 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT504.U0017U0007.Elements.Add((SwiftDefinitionElement) MT504.U0019U0007);
      MT504.U0016U0007.Elements.Add((SwiftDefinitionElement) MT504.U0017U0007);
      MT504.U001AU0007 = new SwiftTagDefinition("Party_E1_95Q", "Party");
      MT504.U001AU0007.TagName = ":95Q::";
      MT504.U001AU0007.Multiple = true;
      MT504.U001BU0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U001AU0007.Elements.Add((SwiftDefinitionElement) MT504.U001BU0007);
      MT504.U001CU0007 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name And Address");
      MT504.U001AU0007.Elements.Add((SwiftDefinitionElement) MT504.U001CU0007);
      MT504.U0016U0007.Elements.Add((SwiftDefinitionElement) MT504.U001AU0007);
      MT504.U001DU0007 = new SwiftTagDefinition("Party_E1_95R", "Party");
      MT504.U001DU0007.TagName = ":95R::";
      MT504.U001DU0007.Multiple = true;
      MT504.U001EU0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U001DU0007.Elements.Add((SwiftDefinitionElement) MT504.U001EU0007);
      MT504.U001FU0007 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT504.U001DU0007.Elements.Add((SwiftDefinitionElement) MT504.U001FU0007);
      MT504.U007FU0007 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT504.U001DU0007.Elements.Add((SwiftDefinitionElement) MT504.U007FU0007);
      MT504.U0016U0007.Elements.Add((SwiftDefinitionElement) MT504.U001DU0007);
      MT504.U0080U0007 = new SwiftTagDefinition("Party_E1_95S", "Party");
      MT504.U0080U0007.TagName = ":95S::";
      MT504.U0080U0007.Multiple = true;
      MT504.U0081U0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0080U0007.Elements.Add((SwiftDefinitionElement) MT504.U0081U0007);
      MT504.U0082U0007 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT504.U0080U0007.Elements.Add((SwiftDefinitionElement) MT504.U0082U0007);
      MT504.U0083U0007 = new SwiftTagSubItemDefinition("TypeOfID", "Type Of ID");
      MT504.U0080U0007.Elements.Add((SwiftDefinitionElement) MT504.U0083U0007);
      MT504.U0084U0007 = new SwiftTagSubItemDefinition("CountryCode", "Country Code");
      MT504.U0080U0007.Elements.Add((SwiftDefinitionElement) MT504.U0084U0007);
      MT504.U0086U0007 = new SwiftTagSubItemDefinition("AlternateID", "Alternate ID");
      MT504.U0080U0007.Elements.Add((SwiftDefinitionElement) MT504.U0086U0007);
      MT504.U0016U0007.Elements.Add((SwiftDefinitionElement) MT504.U0080U0007);
      MT504.U0013U0007.Elements.Add((SwiftDefinitionElement) MT504.U0016U0007);
      MT504.U0087U0007 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0087U0007.Mandatory = false;
      MT504.U0087U0007.Multiple = true;
      MT504.U0088U0007 = new SwiftTagDefinition("Account_E1_97A", "Account");
      MT504.U0088U0007.TagName = ":97A::";
      MT504.U0088U0007.Multiple = true;
      MT504.U0089U0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0088U0007.Elements.Add((SwiftDefinitionElement) MT504.U0089U0007);
      MT504.U008AU0007 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT504.U0088U0007.Elements.Add((SwiftDefinitionElement) MT504.U008AU0007);
      MT504.U0087U0007.Elements.Add((SwiftDefinitionElement) MT504.U0088U0007);
      MT504.U008BU0007 = new SwiftTagDefinition("Account_E1_97E", "Account");
      MT504.U008BU0007.TagName = ":97E::";
      MT504.U008BU0007.Multiple = true;
      MT504.U008CU0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U008BU0007.Elements.Add((SwiftDefinitionElement) MT504.U008CU0007);
      MT504.U008DU0007 = new SwiftTagSubItemDefinition("InternationalBankAccountNumber", "International Bank Account Number");
      MT504.U008BU0007.Elements.Add((SwiftDefinitionElement) MT504.U008DU0007);
      MT504.U0087U0007.Elements.Add((SwiftDefinitionElement) MT504.U008BU0007);
      MT504.U0013U0007.Elements.Add((SwiftDefinitionElement) MT504.U0087U0007);
      MT504.U008EU0007 = new SwiftTagDefinition("Narrative_E1_70C", "Party Contact Narrative");
      MT504.U008EU0007.TagName = ":70C::";
      MT504.U008EU0007.Mandatory = false;
      MT504.U008FU0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U008EU0007.Elements.Add((SwiftDefinitionElement) MT504.U008FU0007);
      MT504.U0090U0007 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT504.U008EU0007.Elements.Add((SwiftDefinitionElement) MT504.U0090U0007);
      MT504.U0013U0007.Elements.Add((SwiftDefinitionElement) MT504.U008EU0007);
      MT504.U0091U0007 = new SwiftTagDefinition("EndOfBlock_E1_16S", "End Of Block");
      MT504.U0091U0007.TagName = ":16S:CSHPRTY1";
      MT504.U0092U0007 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0092U0007.Mandatory = false;
      MT504.U0091U0007.Elements.Add((SwiftDefinitionElement) MT504.U0092U0007);
      MT504.U0013U0007.Elements.Add((SwiftDefinitionElement) MT504.U0091U0007);
      MT504.U0007U0007.Elements.Add((SwiftDefinitionElement) MT504.U0013U0007);
      MT504.U0093U0007 = new SwiftTagDefinition("EndOfBlock_E_16S", "End Of Block");
      MT504.U0093U0007.TagName = ":16S:CASHSET1";
      MT504.U0094U0007 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT504.U0094U0007.Mandatory = false;
      MT504.U0093U0007.Elements.Add((SwiftDefinitionElement) MT504.U0094U0007);
      MT504.U0007U0007.Elements.Add((SwiftDefinitionElement) MT504.U0093U0007);
      MT504.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT504.U0007U0007);
      MT504.U0095U0007 = new SwiftTagSequenceDefinition("SequenceF", "Additional Information");
      MT504.U0095U0007.Mandatory = false;
      MT504.U0096U0007 = new SwiftTagDefinition("StartOfBlock_F_16R", "Start of Block");
      MT504.U0096U0007.TagName = ":16R:ADDINFO";
      MT504.U0097U0007 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT504.U0097U0007.Mandatory = false;
      MT504.U0096U0007.Elements.Add((SwiftDefinitionElement) MT504.U0097U0007);
      MT504.U0095U0007.Elements.Add((SwiftDefinitionElement) MT504.U0096U0007);
      MT504.U0098U0007 = new SwiftTagChoiceDefinition("Choice", "");
      MT504.U0098U0007.Mandatory = false;
      MT504.U0098U0007.Multiple = true;
      MT504.U0099U0007 = new SwiftTagDefinition("Party_F_95P", "Party");
      MT504.U0099U0007.TagName = ":95P::";
      MT504.U0099U0007.Multiple = true;
      MT504.U009AU0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0099U0007.Elements.Add((SwiftDefinitionElement) MT504.U009AU0007);
      MT504.U009BU0007 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT504.U0099U0007.Elements.Add((SwiftDefinitionElement) MT504.U009BU0007);
      MT504.U0098U0007.Elements.Add((SwiftDefinitionElement) MT504.U0099U0007);
      MT504.U009CU0007 = new SwiftTagDefinition("Party_F_95R", "Party");
      MT504.U009CU0007.TagName = ":95R::";
      MT504.U009CU0007.Multiple = true;
      MT504.U009DU0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U009CU0007.Elements.Add((SwiftDefinitionElement) MT504.U009DU0007);
      MT504.U009EU0007 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT504.U009CU0007.Elements.Add((SwiftDefinitionElement) MT504.U009EU0007);
      MT504.U009FU0007 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT504.U009CU0007.Elements.Add((SwiftDefinitionElement) MT504.U009FU0007);
      MT504.U0098U0007.Elements.Add((SwiftDefinitionElement) MT504.U009CU0007);
      MT504.U0001U0008 = new SwiftTagDefinition("Party_F_95Q", "Party");
      MT504.U0001U0008.TagName = ":95Q::";
      MT504.U0001U0008.Multiple = true;
      MT504.U0002U0008 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT504.U0001U0008.Elements.Add((SwiftDefinitionElement) MT504.U0002U0008);
      MT504.U0003U0008 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name And Address");
      MT504.U0001U0008.Elements.Add((SwiftDefinitionElement) MT504.U0003U0008);
      MT504.U0098U0007.Elements.Add((SwiftDefinitionElement) MT504.U0001U0008);
      MT504.U0095U0007.Elements.Add((SwiftDefinitionElement) MT504.U0098U0007);
      MT504.U0004U0008 = new SwiftTagDefinition("EndOfBlock_F_16S", "End of Block");
      MT504.U0004U0008.TagName = ":16S:ADDINFO";
      MT504.U0005U0008 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT504.U0005U0008.Mandatory = false;
      MT504.U0004U0008.Elements.Add((SwiftDefinitionElement) MT504.U0005U0008);
      MT504.U0095U0007.Elements.Add((SwiftDefinitionElement) MT504.U0004U0008);
      MT504.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT504.U0095U0007);
    }

    public class SequenceAClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT504.U0002;
        }
      }

      [Description("Start Of Block")]
      public Tag16R StartOfBlock_A_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0003);
        }
      }

      [Description("Start Of Block")]
      public Tag16R Tag16R_StartOfBlock_A
      {
        get
        {
          return this.StartOfBlock_A_16R;
        }
      }

      [Description("Reference")]
      public Tag20C[] Reference_A_20C
      {
        get
        {
          int index = -1;
          List<Tag20C> list = new List<Tag20C>();
          int count;
          do
          {
            ++index;
            Tag20C tag20C = new Tag20C((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0005);
            count = this.ListTags((SwiftElement) tag20C).Count;
            if (count > 0)
              list.Add(tag20C);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Reference")]
      public Tag20C[] Tag20C_Reference_A
      {
        get
        {
          return this.Reference_A_20C;
        }
      }

      [Description("Function Of the Message")]
      public Tag23G FunctionOfTheMessage_A_23G
      {
        get
        {
          return new Tag23G((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0008);
        }
      }

      [Description("Function Of the Message")]
      public Tag23G Tag23G_FunctionOfTheMessage_A
      {
        get
        {
          return this.FunctionOfTheMessage_A_23G;
        }
      }

      [Description("Agreement")]
      public MT504.SequenceAClass.SequenceA1Class[] SequenceA1
      {
        get
        {
          int index = -1;
          List<MT504.SequenceAClass.SequenceA1Class> list = new List<MT504.SequenceAClass.SequenceA1Class>();
          int count;
          do
          {
            ++index;
            MT504.SequenceAClass.SequenceA1Class sequenceA1Class = new MT504.SequenceAClass.SequenceA1Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceA1Class).Count;
            if (count > 0)
              list.Add(sequenceA1Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Preparation Date")]
      public Tag98A Date_A_98A
      {
        get
        {
          return new Tag98A((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0084);
        }
      }

      [Description("Preparation Date")]
      public Tag98A Tag98A_Date_A
      {
        get
        {
          return this.Date_A_98A;
        }
      }

      [Description("Preparation Date/Time")]
      public Tag98C DateTime_A_98C
      {
        get
        {
          return new Tag98C((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0088);
        }
      }

      [Description("Preparation Date/Time")]
      public Tag98C Tag98C_DateTime_A
      {
        get
        {
          return this.DateTime_A_98C;
        }
      }

      [Description("Trade Date/Time")]
      public Tag98E DateTime_A_98E
      {
        get
        {
          return new Tag98E((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U008D);
        }
      }

      [Description("Trade Date/Time")]
      public Tag98E Tag98E_DateTime_A
      {
        get
        {
          return this.DateTime_A_98E;
        }
      }

      [Description("Indicator")]
      public MT504.SequenceAClass.Tag22H[] Indicator_A_22H
      {
        get
        {
          int index = -1;
          List<MT504.SequenceAClass.Tag22H> list = new List<MT504.SequenceAClass.Tag22H>();
          int count;
          do
          {
            ++index;
            MT504.SequenceAClass.Tag22H tag22H = new MT504.SequenceAClass.Tag22H((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0098);
            count = this.ListTags((SwiftElement) tag22H).Count;
            if (count > 0)
              list.Add(tag22H);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Indicator")]
      public MT504.SequenceAClass.Tag22H[] Tag22H_Indicator_A
      {
        get
        {
          return this.Indicator_A_22H;
        }
      }

      [Description("Indicator")]
      public Tag22F[] Indicator_A_22F
      {
        get
        {
          int index = -1;
          List<Tag22F> list = new List<Tag22F>();
          int count;
          do
          {
            ++index;
            Tag22F tag22F = new Tag22F((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U009B);
            count = this.ListTags((SwiftElement) tag22F).Count;
            if (count > 0)
              list.Add(tag22F);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Indicator")]
      public Tag22F[] Tag22F_Indicator_A
      {
        get
        {
          return this.Indicator_A_22F;
        }
      }

      [Description("Party")]
      public Tag95P[] Party_A_95P
      {
        get
        {
          int index = -1;
          List<Tag95P> list = new List<Tag95P>();
          int count;
          do
          {
            ++index;
            Tag95P tag95P = new Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0001U0002);
            count = this.ListTags((SwiftElement) tag95P).Count;
            if (count > 0)
              list.Add(tag95P);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95P[] Tag95P_Party_A
      {
        get
        {
          return this.Party_A_95P;
        }
      }

      [Description("Party")]
      public Tag95Q[] Party_A_95Q
      {
        get
        {
          int index = -1;
          List<Tag95Q> list = new List<Tag95Q>();
          int count;
          do
          {
            ++index;
            Tag95Q tag95Q = new Tag95Q((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0004U0002);
            count = this.ListTags((SwiftElement) tag95Q).Count;
            if (count > 0)
              list.Add(tag95Q);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95Q[] Tag95Q_Party_A
      {
        get
        {
          return this.Party_A_95Q;
        }
      }

      [Description("Party")]
      public Tag95R[] Party_A_95R
      {
        get
        {
          int index = -1;
          List<Tag95R> list = new List<Tag95R>();
          int count;
          do
          {
            ++index;
            Tag95R tag95R = new Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0007U0002);
            count = this.ListTags((SwiftElement) tag95R).Count;
            if (count > 0)
              list.Add(tag95R);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95R[] Tag95R_Party_A
      {
        get
        {
          return this.Party_A_95R;
        }
      }

      [Description("Party Contact Narrative")]
      public Tag70C Narrative_A_70C
      {
        get
        {
          return new Tag70C((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0010U0002);
        }
      }

      [Description("Party Contact Narrative")]
      public Tag70C Tag70C_Narrative_A
      {
        get
        {
          return this.Narrative_A_70C;
        }
      }

      [Description("Linkages")]
      public MT504.SequenceAClass.SequenceA2Class[] SequenceA2
      {
        get
        {
          int index = -1;
          List<MT504.SequenceAClass.SequenceA2Class> list = new List<MT504.SequenceAClass.SequenceA2Class>();
          int count;
          do
          {
            ++index;
            MT504.SequenceAClass.SequenceA2Class sequenceA2Class = new MT504.SequenceAClass.SequenceA2Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceA2Class).Count;
            if (count > 0)
              list.Add(sequenceA2Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("End Of Block")]
      public Tag16S EndOfBlock_A_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0082U0002);
        }
      }

      [Description("End Of Block")]
      public Tag16S Tag16S_EndOfBlock_A
      {
        get
        {
          return this.EndOfBlock_A_16S;
        }
      }

      internal SequenceAClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag20C AddReference_A_20C()
      {
        return new Tag20C((SwiftElement) this, this.Reference_A_20C.Length, (SwiftDefinitionElement) MT504.U0005)
        {
          Value = string.Empty
        };
      }

      public void RemoveReference_A_20C(Tag20C tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public MT504.SequenceAClass.SequenceA1Class AddSequenceA1()
      {
        return new MT504.SequenceAClass.SequenceA1Class((SwiftElement) this, this.SequenceA1.Length, true);
      }

      public void RemoveSequenceA1(MT504.SequenceAClass.SequenceA1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public MT504.SequenceAClass.Tag22H AddIndicator_A_22H()
      {
        return new MT504.SequenceAClass.Tag22H((SwiftElement) this, this.Indicator_A_22H.Length, (SwiftDefinitionElement) MT504.U0098)
        {
          Value = string.Empty
        };
      }

      public void RemoveIndicator_A_22H(MT504.SequenceAClass.Tag22H tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag22F AddIndicator_A_22F()
      {
        return new Tag22F((SwiftElement) this, this.Indicator_A_22F.Length, (SwiftDefinitionElement) MT504.U009B)
        {
          Value = string.Empty
        };
      }

      public void RemoveIndicator_A_22F(Tag22F tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95P AddParty_A_95P()
      {
        return new Tag95P((SwiftElement) this, this.Party_A_95P.Length, (SwiftDefinitionElement) MT504.U0001U0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_A_95P(Tag95P tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95Q AddParty_A_95Q()
      {
        return new Tag95Q((SwiftElement) this, this.Party_A_95Q.Length, (SwiftDefinitionElement) MT504.U0004U0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_A_95Q(Tag95Q tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95R AddParty_A_95R()
      {
        return new Tag95R((SwiftElement) this, this.Party_A_95R.Length, (SwiftDefinitionElement) MT504.U0007U0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_A_95R(Tag95R tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public MT504.SequenceAClass.SequenceA2Class AddSequenceA2()
      {
        return new MT504.SequenceAClass.SequenceA2Class((SwiftElement) this, this.SequenceA2.Length, true);
      }

      public void RemoveSequenceA2(MT504.SequenceAClass.SequenceA2Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceA1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT504.U0011;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_A1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0012);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_A1
        {
          get
          {
            return this.StartOfBlock_A1_16R;
          }
        }

        [Description("Agreement Indicator")]
        public Tag22F Indicator_A1_22F
        {
          get
          {
            return new Tag22F((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0014);
          }
        }

        [Description("Agreement Indicator")]
        public Tag22F Tag22F_Indicator_A1
        {
          get
          {
            return this.Indicator_A1_22F;
          }
        }

        [Description("Agreement Date")]
        public Tag98A Date_A1_98A
        {
          get
          {
            return new Tag98A((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0018);
          }
        }

        [Description("Agreement Date")]
        public Tag98A Tag98A_Date_A1
        {
          get
          {
            return this.Date_A1_98A;
          }
        }

        [Description("Agreement Version number")]
        public Tag13B Number_A1_13B
        {
          get
          {
            return new Tag13B((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U001B);
          }
        }

        [Description("Agreement Version number")]
        public Tag13B Tag13B_Number_A1
        {
          get
          {
            return this.Number_A1_13B;
          }
        }

        [Description("Agreement Narrative")]
        public Tag70C Narrative_A1_70C
        {
          get
          {
            return new Tag70C((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U001F);
          }
        }

        [Description("Agreement Narrative")]
        public Tag70C Tag70C_Narrative_A1
        {
          get
          {
            return this.Narrative_A1_70C;
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_A1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0081);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_A1
        {
          get
          {
            return this.EndOfBlock_A1_16S;
          }
        }

        internal SequenceA1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }

      public class Tag22H : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("22H", value);
          }
        }

        internal Tag22H(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class SequenceA2Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT504.U0013U0002;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_A2_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0014U0002);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_A2
        {
          get
          {
            return this.StartOfBlock_A2_16R;
          }
        }

        [Description("Linked Message")]
        public Tag13A NumberIdentification_A2_13A
        {
          get
          {
            return new Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0017U0002);
          }
        }

        [Description("Linked Message")]
        public Tag13A Tag13A_NumberIdentification_A2
        {
          get
          {
            return this.NumberIdentification_A2_13A;
          }
        }

        [Description("Linked Message")]
        public Tag13B NumberIdentification_A2_13B
        {
          get
          {
            return new Tag13B((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U001AU0002);
          }
        }

        [Description("Linked Message")]
        public Tag13B Tag13B_NumberIdentification_A2
        {
          get
          {
            return this.NumberIdentification_A2_13B;
          }
        }

        [Description("Reference")]
        public Tag20C Reference_A2_20C
        {
          get
          {
            return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U001EU0002);
          }
        }

        [Description("Reference")]
        public Tag20C Tag20C_Reference_A2
        {
          get
          {
            return this.Reference_A2_20C;
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_A2_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0080U0002);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_A2
        {
          get
          {
            return this.EndOfBlock_A2_16S;
          }
        }

        internal SequenceA2Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }
    }

    public class SequenceBClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT504.U0084U0002;
        }
      }

      [Description("Start Of Block")]
      public Tag16R StartOfBlock_B_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0086U0002);
        }
      }

      [Description("Start Of Block")]
      public Tag16R Tag16R_StartOfBlock_B
      {
        get
        {
          return this.StartOfBlock_B_16R;
        }
      }

      [Description("Party")]
      public Tag95P Party_B_95P
      {
        get
        {
          return new Tag95P((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0089U0002);
        }
      }

      [Description("Party")]
      public Tag95P Tag95P_Party_B
      {
        get
        {
          return this.Party_B_95P;
        }
      }

      [Description("Party")]
      public Tag95Q Party_B_95Q
      {
        get
        {
          return new Tag95Q((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U008CU0002);
        }
      }

      [Description("Party")]
      public Tag95Q Tag95Q_Party_B
      {
        get
        {
          return this.Party_B_95Q;
        }
      }

      [Description("Party")]
      public Tag95R Party_B_95R
      {
        get
        {
          return new Tag95R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U008FU0002);
        }
      }

      [Description("Party")]
      public Tag95R Tag95R_Party_B
      {
        get
        {
          return this.Party_B_95R;
        }
      }

      [Description("Amount")]
      public Tag19B[] Amount_B_19B
      {
        get
        {
          int index = -1;
          List<Tag19B> list = new List<Tag19B>();
          int count;
          do
          {
            ++index;
            Tag19B tag19B = new Tag19B((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0093U0002);
            count = this.ListTags((SwiftElement) tag19B).Count;
            if (count > 0)
              list.Add(tag19B);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Amount")]
      public Tag19B[] Tag19B_Amount_B
      {
        get
        {
          return this.Amount_B_19B;
        }
      }

      [Description("Summary Details")]
      public MT504.SequenceBClass.SequenceB1Class SequenceB1
      {
        get
        {
          MT504.SequenceBClass.SequenceB1Class sequenceB1Class = new MT504.SequenceBClass.SequenceB1Class((SwiftElement) this, 0, false);
          if (this.ListTags((SwiftElement) sequenceB1Class).Count > 0)
            return sequenceB1Class;
          else
            return (MT504.SequenceBClass.SequenceB1Class) null;
        }
      }

      [Description("End Of Block")]
      public Tag16S EndOfBlock_B_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0011U0003);
        }
      }

      [Description("End Of Block")]
      public Tag16S Tag16S_EndOfBlock_B
      {
        get
        {
          return this.EndOfBlock_B_16S;
        }
      }

      internal SequenceBClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag19B AddAmount_B_19B()
      {
        return new Tag19B((SwiftElement) this, this.Amount_B_19B.Length, (SwiftDefinitionElement) MT504.U0093U0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveAmount_B_19B(Tag19B tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public MT504.SequenceBClass.SequenceB1Class AddSequenceB1()
      {
        return this.SequenceB1 ?? new MT504.SequenceBClass.SequenceB1Class((SwiftElement) this, 0, true);
      }

      public void RemoveSequenceB1(MT504.SequenceBClass.SequenceB1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceB1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT504.U0098U0002;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_B1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0099U0002);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_B1
        {
          get
          {
            return this.StartOfBlock_B1_16R;
          }
        }

        [Description("Amount")]
        public Tag19B[] Amount_B1_19B
        {
          get
          {
            int index = -1;
            List<Tag19B> list = new List<Tag19B>();
            int count;
            do
            {
              ++index;
              Tag19B tag19B = new Tag19B((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U009BU0002);
              count = this.ListTags((SwiftElement) tag19B).Count;
              if (count > 0)
                list.Add(tag19B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Amount")]
        public Tag19B[] Tag19B_Amount_B1
        {
          get
          {
            return this.Amount_B1_19B;
          }
        }

        [Description("Date ")]
        public Tag98A[] Date_B1_98A
        {
          get
          {
            int index = -1;
            List<Tag98A> list = new List<Tag98A>();
            int count;
            do
            {
              ++index;
              Tag98A tag98A = new Tag98A((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0002U0003);
              count = this.ListTags((SwiftElement) tag98A).Count;
              if (count > 0)
                list.Add(tag98A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Date ")]
        public Tag98A[] Tag98A_Date_B1
        {
          get
          {
            return this.Date_B1_98A;
          }
        }

        [Description("Date Time")]
        public Tag98C[] DateTime_B1_98C
        {
          get
          {
            int index = -1;
            List<Tag98C> list = new List<Tag98C>();
            int count;
            do
            {
              ++index;
              Tag98C tag98C = new Tag98C((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0005U0003);
              count = this.ListTags((SwiftElement) tag98C).Count;
              if (count > 0)
                list.Add(tag98C);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Date Time")]
        public Tag98C[] Tag98C_DateTime_B1
        {
          get
          {
            return this.DateTime_B1_98C;
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_B1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U000FU0003);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_B1
        {
          get
          {
            return this.EndOfBlock_B1_16S;
          }
        }

        internal SequenceB1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public Tag19B AddAmount_B1_19B()
        {
          return new Tag19B((SwiftElement) this, this.Amount_B1_19B.Length, (SwiftDefinitionElement) MT504.U009BU0002)
          {
            Value = string.Empty
          };
        }

        public void RemoveAmount_B1_19B(Tag19B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag98A AddDate_B1_98A()
        {
          return new Tag98A((SwiftElement) this, this.Date_B1_98A.Length, (SwiftDefinitionElement) MT504.U0002U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveDate_B1_98A(Tag98A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag98C AddDateTime_B1_98C()
        {
          return new Tag98C((SwiftElement) this, this.DateTime_B1_98C.Length, (SwiftDefinitionElement) MT504.U0005U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveDateTime_B1_98C(Tag98C tag)
        {
          this.RemoveTag(tag.GetTag());
        }
      }
    }

    public class SequenceCClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT504.U0013U0003;
        }
      }

      [Description("Start Of Block")]
      public Tag16R StartOfBlock_C_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0014U0003);
        }
      }

      [Description("Start Of Block")]
      public Tag16R Tag16R_StartOfBlock_C
      {
        get
        {
          return this.StartOfBlock_C_16R;
        }
      }

      [Description("Collateral Reference")]
      public Tag20C Reference_C_20C
      {
        get
        {
          return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0016U0003);
        }
      }

      [Description("Collateral Reference")]
      public Tag20C Tag20C_Reference_C
      {
        get
        {
          return this.Reference_C_20C;
        }
      }

      [Description("Indicator")]
      public MT504.SequenceCClass.Tag22H[] Indicator_C_22H
      {
        get
        {
          int index = -1;
          List<MT504.SequenceCClass.Tag22H> list = new List<MT504.SequenceCClass.Tag22H>();
          int count;
          do
          {
            ++index;
            MT504.SequenceCClass.Tag22H tag22H = new MT504.SequenceCClass.Tag22H((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U001AU0003);
            count = this.ListTags((SwiftElement) tag22H).Count;
            if (count > 0)
              list.Add(tag22H);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Indicator")]
      public MT504.SequenceCClass.Tag22H[] Tag22H_Indicator_C
      {
        get
        {
          return this.Indicator_C_22H;
        }
      }

      [Description("Indicator")]
      public Tag22F[] Indicator_C_22F
      {
        get
        {
          int index = -1;
          List<Tag22F> list = new List<Tag22F>();
          int count;
          do
          {
            ++index;
            Tag22F tag22F = new Tag22F((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U001DU0003);
            count = this.ListTags((SwiftElement) tag22F).Count;
            if (count > 0)
              list.Add(tag22F);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Indicator")]
      public Tag22F[] Tag22F_Indicator_C
      {
        get
        {
          return this.Indicator_C_22F;
        }
      }

      [Description("Settlement Date")]
      public Tag98A Date_C_98A
      {
        get
        {
          return new Tag98A((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0080U0003);
        }
      }

      [Description("Settlement Date")]
      public Tag98A Tag98A_Date_C
      {
        get
        {
          return this.Date_C_98A;
        }
      }

      [Description("Securities Collateral Details")]
      public MT504.SequenceCClass.SequenceC1Class SequenceC1
      {
        get
        {
          MT504.SequenceCClass.SequenceC1Class sequenceC1Class = new MT504.SequenceCClass.SequenceC1Class((SwiftElement) this, 0, false);
          if (this.ListTags((SwiftElement) sequenceC1Class).Count > 0)
            return sequenceC1Class;
          else
            return (MT504.SequenceCClass.SequenceC1Class) null;
        }
      }

      [Description("Cash Collateral Details")]
      public MT504.SequenceCClass.SequenceC2Class SequenceC2
      {
        get
        {
          MT504.SequenceCClass.SequenceC2Class sequenceC2Class = new MT504.SequenceCClass.SequenceC2Class((SwiftElement) this, 0, false);
          if (this.ListTags((SwiftElement) sequenceC2Class).Count > 0)
            return sequenceC2Class;
          else
            return (MT504.SequenceCClass.SequenceC2Class) null;
        }
      }

      [Description("Other Collateral Details")]
      public MT504.SequenceCClass.SequenceC3Class SequenceC3
      {
        get
        {
          MT504.SequenceCClass.SequenceC3Class sequenceC3Class = new MT504.SequenceCClass.SequenceC3Class((SwiftElement) this, 0, false);
          if (this.ListTags((SwiftElement) sequenceC3Class).Count > 0)
            return sequenceC3Class;
          else
            return (MT504.SequenceCClass.SequenceC3Class) null;
        }
      }

      [Description("End Of Block")]
      public Tag16S EndOfBlock_C_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0012U0006);
        }
      }

      [Description("End Of Block")]
      public Tag16S Tag16S_EndOfBlock_C
      {
        get
        {
          return this.EndOfBlock_C_16S;
        }
      }

      internal SequenceCClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public MT504.SequenceCClass.Tag22H AddIndicator_C_22H()
      {
        return new MT504.SequenceCClass.Tag22H((SwiftElement) this, this.Indicator_C_22H.Length, (SwiftDefinitionElement) MT504.U001AU0003)
        {
          Value = string.Empty
        };
      }

      public void RemoveIndicator_C_22H(MT504.SequenceCClass.Tag22H tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag22F AddIndicator_C_22F()
      {
        return new Tag22F((SwiftElement) this, this.Indicator_C_22F.Length, (SwiftDefinitionElement) MT504.U001DU0003)
        {
          Value = string.Empty
        };
      }

      public void RemoveIndicator_C_22F(Tag22F tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public MT504.SequenceCClass.SequenceC1Class AddSequenceC1()
      {
        return this.SequenceC1 ?? new MT504.SequenceCClass.SequenceC1Class((SwiftElement) this, 0, true);
      }

      public void RemoveSequenceC1(MT504.SequenceCClass.SequenceC1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public MT504.SequenceCClass.SequenceC2Class AddSequenceC2()
      {
        return this.SequenceC2 ?? new MT504.SequenceCClass.SequenceC2Class((SwiftElement) this, 0, true);
      }

      public void RemoveSequenceC2(MT504.SequenceCClass.SequenceC2Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public MT504.SequenceCClass.SequenceC3Class AddSequenceC3()
      {
        return this.SequenceC3 ?? new MT504.SequenceCClass.SequenceC3Class((SwiftElement) this, 0, true);
      }

      public void RemoveSequenceC3(MT504.SequenceCClass.SequenceC3Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class Tag22H : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("22H", value);
          }
        }

        internal Tag22H(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class SequenceC1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT504.U0083U0003;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_C1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0084U0003);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_C1
        {
          get
          {
            return this.StartOfBlock_C1_16R;
          }
        }

        [Description("Identification Of The Financial Instrument")]
        public Tag35B IdentificationOfFinancialInstrument_C1_35B
        {
          get
          {
            return new Tag35B((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0087U0003);
          }
        }

        [Description("Identification Of The Financial Instrument")]
        public Tag35B Tag35B_IdentificationOfFinancialInstrument_C1
        {
          get
          {
            return this.IdentificationOfFinancialInstrument_C1_35B;
          }
        }

        [Description("Quantity of Securities Collateral")]
        public Tag36B QuantityOfFinancialInstrument_C1_36B
        {
          get
          {
            return new Tag36B((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U008BU0003);
          }
        }

        [Description("Quantity of Securities Collateral")]
        public Tag36B Tag36B_QuantityOfFinancialInstrument_C1
        {
          get
          {
            return this.QuantityOfFinancialInstrument_C1_36B;
          }
        }

        [Description("Ownership Flag")]
        public Tag17B Flag_C1_17B
        {
          get
          {
            return new Tag17B((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0090U0003);
          }
        }

        [Description("Ownership Flag")]
        public Tag17B Tag17B_Flag_C1
        {
          get
          {
            return this.Flag_C1_17B;
          }
        }

        [Description("Settlement Details")]
        public MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass SequenceC1a
        {
          get
          {
            MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass sequenceC1aClass = new MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass((SwiftElement) this, 0, false);
            if (this.ListTags((SwiftElement) sequenceC1aClass).Count > 0)
              return sequenceC1aClass;
            else
              return (MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass) null;
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_C1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U008BU0004);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_C1
        {
          get
          {
            return this.EndOfBlock_C1_16S;
          }
        }

        internal SequenceC1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass AddSequenceC1a()
        {
          return this.SequenceC1a ?? new MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass((SwiftElement) this, 0, true);
        }

        public void RemoveSequenceC1a(MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass sequence)
        {
          foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
            this.RemoveTag(tag);
        }

        public class SequenceC1aClass : SwiftTagSequence
        {
          internal override SwiftDefinitionElement Definition
          {
            get
            {
              return (SwiftDefinitionElement) MT504.U0093U0003;
            }
          }

          [Description("Start Of Block")]
          public Tag16R StartOfBlock_C1a_16R
          {
            get
            {
              return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0094U0003);
            }
          }

          [Description("Start Of Block")]
          public Tag16R Tag16R_StartOfBlock_C1a
          {
            get
            {
              return this.StartOfBlock_C1a_16R;
            }
          }

          [Description("Indicator")]
          public MT504.SequenceCClass.Tag22H[] Indicator_C1a_22H
          {
            get
            {
              int index = -1;
              List<MT504.SequenceCClass.Tag22H> list = new List<MT504.SequenceCClass.Tag22H>();
              int count;
              do
              {
                ++index;
                MT504.SequenceCClass.Tag22H tag22H = new MT504.SequenceCClass.Tag22H((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0097U0003);
                count = this.ListTags((SwiftElement) tag22H).Count;
                if (count > 0)
                  list.Add(tag22H);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Indicator")]
          public MT504.SequenceCClass.Tag22H[] Tag22H_Indicator_C1a
          {
            get
            {
              return this.Indicator_C1a_22H;
            }
          }

          [Description("Indicator")]
          public Tag22F[] Indicator_C1a_22F
          {
            get
            {
              int index = -1;
              List<Tag22F> list = new List<Tag22F>();
              int count;
              do
              {
                ++index;
                Tag22F tag22F = new Tag22F((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U009AU0003);
                count = this.ListTags((SwiftElement) tag22F).Count;
                if (count > 0)
                  list.Add(tag22F);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Indicator")]
          public Tag22F[] Tag22F_Indicator_C1a
          {
            get
            {
              return this.Indicator_C1a_22F;
            }
          }

          [Description("Settlement Parties")]
          public MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class[] SequenceC1a1
          {
            get
            {
              int index = -1;
              List<MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class> list = new List<MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class>();
              int count;
              do
              {
                ++index;
                MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class sequenceC1a1Class = new MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class((SwiftElement) this, index, false);
                count = this.ListTags((SwiftElement) sequenceC1a1Class).Count;
                if (count > 0)
                  list.Add(sequenceC1a1Class);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("End Of Block")]
          public Tag16S EndOfBlock_C1a_16S
          {
            get
            {
              return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0089U0004);
            }
          }

          [Description("End Of Block")]
          public Tag16S Tag16S_EndOfBlock_C1a
          {
            get
            {
              return this.EndOfBlock_C1a_16S;
            }
          }

          internal SequenceC1aClass(SwiftElement parent, int index, bool createTags)
            : base(parent, index, createTags)
          {
          }

          public MT504.SequenceCClass.Tag22H AddIndicator_C1a_22H()
          {
            return new MT504.SequenceCClass.Tag22H((SwiftElement) this, this.Indicator_C1a_22H.Length, (SwiftDefinitionElement) MT504.U0097U0003)
            {
              Value = string.Empty
            };
          }

          public void RemoveIndicator_C1a_22H(MT504.SequenceCClass.Tag22H tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag22F AddIndicator_C1a_22F()
          {
            return new Tag22F((SwiftElement) this, this.Indicator_C1a_22F.Length, (SwiftDefinitionElement) MT504.U009AU0003)
            {
              Value = string.Empty
            };
          }

          public void RemoveIndicator_C1a_22F(Tag22F tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class AddSequenceC1a1()
          {
            return new MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class((SwiftElement) this, this.SequenceC1a1.Length, true);
          }

          public void RemoveSequenceC1a1(MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class sequence)
          {
            foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
              this.RemoveTag(tag);
          }

          public class SequenceC1a1Class : SwiftTagSequence
          {
            internal override SwiftDefinitionElement Definition
            {
              get
              {
                return (SwiftDefinitionElement) MT504.U009EU0003;
              }
            }

            [Description("Start Of Block")]
            public Tag16R StartOfBlock_C1a1_16R
            {
              get
              {
                return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U009FU0003);
              }
            }

            [Description("Start Of Block")]
            public Tag16R Tag16R_StartOfBlock_C1a1
            {
              get
              {
                return this.StartOfBlock_C1a1_16R;
              }
            }

            [Description("Party")]
            public Tag95C[] Party_C1a1_95C
            {
              get
              {
                int index = -1;
                List<Tag95C> list = new List<Tag95C>();
                int count;
                do
                {
                  ++index;
                  Tag95C tag95C = new Tag95C((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0003U0004);
                  count = this.ListTags((SwiftElement) tag95C).Count;
                  if (count > 0)
                    list.Add(tag95C);
                }
                while (count > 0);
                return list.ToArray();
              }
            }

            [Description("Party")]
            public Tag95C[] Tag95C_Party_C1a1
            {
              get
              {
                return this.Party_C1a1_95C;
              }
            }

            [Description("Party")]
            public Tag95P[] Party_C1a1_95P
            {
              get
              {
                int index = -1;
                List<Tag95P> list = new List<Tag95P>();
                int count;
                do
                {
                  ++index;
                  Tag95P tag95P = new Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0006U0004);
                  count = this.ListTags((SwiftElement) tag95P).Count;
                  if (count > 0)
                    list.Add(tag95P);
                }
                while (count > 0);
                return list.ToArray();
              }
            }

            [Description("Party")]
            public Tag95P[] Tag95P_Party_C1a1
            {
              get
              {
                return this.Party_C1a1_95P;
              }
            }

            [Description("Party")]
            public Tag95Q[] Party_C1a1_95Q
            {
              get
              {
                int index = -1;
                List<Tag95Q> list = new List<Tag95Q>();
                int count;
                do
                {
                  ++index;
                  Tag95Q tag95Q = new Tag95Q((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U000EU0004);
                  count = this.ListTags((SwiftElement) tag95Q).Count;
                  if (count > 0)
                    list.Add(tag95Q);
                }
                while (count > 0);
                return list.ToArray();
              }
            }

            [Description("Party")]
            public Tag95Q[] Tag95Q_Party_C1a1
            {
              get
              {
                return this.Party_C1a1_95Q;
              }
            }

            [Description("Party")]
            public Tag95R[] Party_C1a1_95R
            {
              get
              {
                int index = -1;
                List<Tag95R> list = new List<Tag95R>();
                int count;
                do
                {
                  ++index;
                  Tag95R tag95R = new Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0011U0004);
                  count = this.ListTags((SwiftElement) tag95R).Count;
                  if (count > 0)
                    list.Add(tag95R);
                }
                while (count > 0);
                return list.ToArray();
              }
            }

            [Description("Party")]
            public Tag95R[] Tag95R_Party_C1a1
            {
              get
              {
                return this.Party_C1a1_95R;
              }
            }

            [Description("Party")]
            public MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class.Tag95S[] Party_C1a1_95S
            {
              get
              {
                int index = -1;
                List<MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class.Tag95S> list = new List<MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class.Tag95S>();
                int count;
                do
                {
                  ++index;
                  MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class.Tag95S tag95S = new MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class.Tag95S((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0015U0004);
                  count = this.ListTags((SwiftElement) tag95S).Count;
                  if (count > 0)
                    list.Add(tag95S);
                }
                while (count > 0);
                return list.ToArray();
              }
            }

            [Description("Party")]
            public MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class.Tag95S[] Tag95S_Party_C1a1
            {
              get
              {
                return this.Party_C1a1_95S;
              }
            }

            [Description("Safe Keeping Account")]
            public Tag97A Account_C1a1_97A
            {
              get
              {
                return new Tag97A((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U001CU0004);
              }
            }

            [Description("Safe Keeping Account")]
            public Tag97A Tag97A_Account_C1a1
            {
              get
              {
                return this.Account_C1a1_97A;
              }
            }

            [Description("Safe Keeping Account")]
            public Tag97B Account_C1a1_97B
            {
              get
              {
                return new Tag97B((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U001FU0004);
              }
            }

            [Description("Safe Keeping Account")]
            public Tag97B Tag97B_Account_C1a1
            {
              get
              {
                return this.Account_C1a1_97B;
              }
            }

            [Description("Party Contact Narrative")]
            public Tag70C Narrative_C1a1_70C
            {
              get
              {
                return new Tag70C((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0083U0004);
              }
            }

            [Description("Party Contact Narrative")]
            public Tag70C Tag70C_Narrative_C1a1
            {
              get
              {
                return this.Narrative_C1a1_70C;
              }
            }

            [Description("End Of Block")]
            public Tag16S EndOfBlock_C1a1_16S
            {
              get
              {
                return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0087U0004);
              }
            }

            [Description("End Of Block")]
            public Tag16S Tag16S_EndOfBlock_C1a1
            {
              get
              {
                return this.EndOfBlock_C1a1_16S;
              }
            }

            internal SequenceC1a1Class(SwiftElement parent, int index, bool createTags)
              : base(parent, index, createTags)
            {
            }

            public Tag95C AddParty_C1a1_95C()
            {
              return new Tag95C((SwiftElement) this, this.Party_C1a1_95C.Length, (SwiftDefinitionElement) MT504.U0003U0004)
              {
                Value = string.Empty
              };
            }

            public void RemoveParty_C1a1_95C(Tag95C tag)
            {
              this.RemoveTag(tag.GetTag());
            }

            public Tag95P AddParty_C1a1_95P()
            {
              return new Tag95P((SwiftElement) this, this.Party_C1a1_95P.Length, (SwiftDefinitionElement) MT504.U0006U0004)
              {
                Value = string.Empty
              };
            }

            public void RemoveParty_C1a1_95P(Tag95P tag)
            {
              this.RemoveTag(tag.GetTag());
            }

            public Tag95Q AddParty_C1a1_95Q()
            {
              return new Tag95Q((SwiftElement) this, this.Party_C1a1_95Q.Length, (SwiftDefinitionElement) MT504.U000EU0004)
              {
                Value = string.Empty
              };
            }

            public void RemoveParty_C1a1_95Q(Tag95Q tag)
            {
              this.RemoveTag(tag.GetTag());
            }

            public Tag95R AddParty_C1a1_95R()
            {
              return new Tag95R((SwiftElement) this, this.Party_C1a1_95R.Length, (SwiftDefinitionElement) MT504.U0011U0004)
              {
                Value = string.Empty
              };
            }

            public void RemoveParty_C1a1_95R(Tag95R tag)
            {
              this.RemoveTag(tag.GetTag());
            }

            public MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class.Tag95S AddParty_C1a1_95S()
            {
              return new MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class.Tag95S((SwiftElement) this, this.Party_C1a1_95S.Length, (SwiftDefinitionElement) MT504.U0015U0004)
              {
                Value = string.Empty
              };
            }

            public void RemoveParty_C1a1_95S(MT504.SequenceCClass.SequenceC1Class.SequenceC1aClass.SequenceC1a1Class.Tag95S tag)
            {
              this.RemoveTag(tag.GetTag());
            }

            public class Tag95S : SwiftTagWrapper
            {
              public string Value
              {
                get
                {
                  return this.GetValue();
                }
                set
                {
                  this.SetValue("95S", value);
                }
              }

              internal Tag95S(SwiftElement parent, int index, SwiftDefinitionElement definition)
                : base(parent, index, definition)
              {
              }
            }
          }
        }
      }

      public class SequenceC2Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT504.U008DU0004;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_C2_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U008EU0004);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_C2
        {
          get
          {
            return this.StartOfBlock_C2_16R;
          }
        }

        [Description("Deposit Amount")]
        public Tag19B Amount_C2_19B
        {
          get
          {
            return new Tag19B((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0090U0004);
          }
        }

        [Description("Deposit Amount")]
        public Tag19B Tag19B_Amount_C2
        {
          get
          {
            return this.Amount_C2_19B;
          }
        }

        [Description("Type of Deposit Indicator")]
        public MT504.SequenceCClass.Tag22H Indicator_C2_22H
        {
          get
          {
            return new MT504.SequenceCClass.Tag22H((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0095U0004);
          }
        }

        [Description("Type of Deposit Indicator")]
        public MT504.SequenceCClass.Tag22H Tag22H_Indicator_C2
        {
          get
          {
            return this.Indicator_C2_22H;
          }
        }

        [Description("Maturity Date")]
        public Tag98A Date_C2_98A
        {
          get
          {
            return new Tag98A((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0098U0004);
          }
        }

        [Description("Maturity Date")]
        public Tag98A Tag98A_Date_C2
        {
          get
          {
            return this.Date_C2_98A;
          }
        }

        [Description("Cash Settlement Details")]
        public MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass SequenceC2a
        {
          get
          {
            MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass sequenceC2aClass = new MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass((SwiftElement) this, 0, false);
            if (this.ListTags((SwiftElement) sequenceC2aClass).Count > 0)
              return sequenceC2aClass;
            else
              return (MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass) null;
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_C2_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U008AU0005);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_C2
        {
          get
          {
            return this.EndOfBlock_C2_16S;
          }
        }

        internal SequenceC2Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass AddSequenceC2a()
        {
          return this.SequenceC2a ?? new MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass((SwiftElement) this, 0, true);
        }

        public void RemoveSequenceC2a(MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass sequence)
        {
          foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
            this.RemoveTag(tag);
        }

        public class SequenceC2aClass : SwiftTagSequence
        {
          internal override SwiftDefinitionElement Definition
          {
            get
            {
              return (SwiftDefinitionElement) MT504.U009BU0004;
            }
          }

          [Description("Start Of Block")]
          public Tag16R StartOfBlock_C2a_16R
          {
            get
            {
              return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U009CU0004);
            }
          }

          [Description("Start Of Block")]
          public Tag16R Tag16R_StartOfBlock_C2a
          {
            get
            {
              return this.StartOfBlock_C2a_16R;
            }
          }

          [Description("Settlement Transaction Condition")]
          public Tag22F Indicator_C2a_22F
          {
            get
            {
              return new Tag22F((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U009EU0004);
            }
          }

          [Description("Settlement Transaction Condition")]
          public Tag22F Tag22F_Indicator_C2a
          {
            get
            {
              return this.Indicator_C2a_22F;
            }
          }

          [Description("Cash Parties")]
          public MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class[] SequenceC2a1
          {
            get
            {
              int index = -1;
              List<MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class> list = new List<MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class>();
              int count;
              do
              {
                ++index;
                MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class sequenceC2a1Class = new MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class((SwiftElement) this, index, false);
                count = this.ListTags((SwiftElement) sequenceC2a1Class).Count;
                if (count > 0)
                  list.Add(sequenceC2a1Class);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("End Of Block")]
          public Tag16S EndOfBlock_C2a_16S
          {
            get
            {
              return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0088U0005);
            }
          }

          [Description("End Of Block")]
          public Tag16S Tag16S_EndOfBlock_C2a
          {
            get
            {
              return this.EndOfBlock_C2a_16S;
            }
          }

          internal SequenceC2aClass(SwiftElement parent, int index, bool createTags)
            : base(parent, index, createTags)
          {
          }

          public MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class AddSequenceC2a1()
          {
            return new MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class((SwiftElement) this, this.SequenceC2a1.Length, true);
          }

          public void RemoveSequenceC2a1(MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class sequence)
          {
            foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
              this.RemoveTag(tag);
          }

          public class SequenceC2a1Class : SwiftTagSequence
          {
            internal override SwiftDefinitionElement Definition
            {
              get
              {
                return (SwiftDefinitionElement) MT504.U0003U0005;
              }
            }

            [Description("Start Of Block")]
            public Tag16R StartOfBlock_C2a1_16R
            {
              get
              {
                return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0004U0005);
              }
            }

            [Description("Start Of Block")]
            public Tag16R Tag16R_StartOfBlock_C2a1
            {
              get
              {
                return this.StartOfBlock_C2a1_16R;
              }
            }

            [Description("Party")]
            public Tag95P[] Party_C2a1_95P
            {
              get
              {
                int index = -1;
                List<Tag95P> list = new List<Tag95P>();
                int count;
                do
                {
                  ++index;
                  Tag95P tag95P = new Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0007U0005);
                  count = this.ListTags((SwiftElement) tag95P).Count;
                  if (count > 0)
                    list.Add(tag95P);
                }
                while (count > 0);
                return list.ToArray();
              }
            }

            [Description("Party")]
            public Tag95P[] Tag95P_Party_C2a1
            {
              get
              {
                return this.Party_C2a1_95P;
              }
            }

            [Description("Party")]
            public Tag95Q[] Party_C2a1_95Q
            {
              get
              {
                int index = -1;
                List<Tag95Q> list = new List<Tag95Q>();
                int count;
                do
                {
                  ++index;
                  Tag95Q tag95Q = new Tag95Q((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U000FU0005);
                  count = this.ListTags((SwiftElement) tag95Q).Count;
                  if (count > 0)
                    list.Add(tag95Q);
                }
                while (count > 0);
                return list.ToArray();
              }
            }

            [Description("Party")]
            public Tag95Q[] Tag95Q_Party_C2a1
            {
              get
              {
                return this.Party_C2a1_95Q;
              }
            }

            [Description("Party")]
            public Tag95R[] Party_C2a1_95R
            {
              get
              {
                int index = -1;
                List<Tag95R> list = new List<Tag95R>();
                int count;
                do
                {
                  ++index;
                  Tag95R tag95R = new Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0012U0005);
                  count = this.ListTags((SwiftElement) tag95R).Count;
                  if (count > 0)
                    list.Add(tag95R);
                }
                while (count > 0);
                return list.ToArray();
              }
            }

            [Description("Party")]
            public Tag95R[] Tag95R_Party_C2a1
            {
              get
              {
                return this.Party_C2a1_95R;
              }
            }

            [Description("Party")]
            public MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class.Tag95S[] Party_C2a1_95S
            {
              get
              {
                int index = -1;
                List<MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class.Tag95S> list = new List<MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class.Tag95S>();
                int count;
                do
                {
                  ++index;
                  MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class.Tag95S tag95S = new MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class.Tag95S((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0016U0005);
                  count = this.ListTags((SwiftElement) tag95S).Count;
                  if (count > 0)
                    list.Add(tag95S);
                }
                while (count > 0);
                return list.ToArray();
              }
            }

            [Description("Party")]
            public MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class.Tag95S[] Tag95S_Party_C2a1
            {
              get
              {
                return this.Party_C2a1_95S;
              }
            }

            [Description("Account")]
            public Tag97A[] Account_C2a1_97A
            {
              get
              {
                int index = -1;
                List<Tag97A> list = new List<Tag97A>();
                int count;
                do
                {
                  ++index;
                  Tag97A tag97A = new Tag97A((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U001DU0005);
                  count = this.ListTags((SwiftElement) tag97A).Count;
                  if (count > 0)
                    list.Add(tag97A);
                }
                while (count > 0);
                return list.ToArray();
              }
            }

            [Description("Account")]
            public Tag97A[] Tag97A_Account_C2a1
            {
              get
              {
                return this.Account_C2a1_97A;
              }
            }

            [Description("Account")]
            public Tag97E[] Account_C2a1_97E
            {
              get
              {
                int index = -1;
                List<Tag97E> list = new List<Tag97E>();
                int count;
                do
                {
                  ++index;
                  Tag97E tag97E = new Tag97E((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U007FU0005);
                  count = this.ListTags((SwiftElement) tag97E).Count;
                  if (count > 0)
                    list.Add(tag97E);
                }
                while (count > 0);
                return list.ToArray();
              }
            }

            [Description("Account")]
            public Tag97E[] Tag97E_Account_C2a1
            {
              get
              {
                return this.Account_C2a1_97E;
              }
            }

            [Description("Party Contact Narrative")]
            public Tag70C Narrative_C2a1_70C
            {
              get
              {
                return new Tag70C((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0082U0005);
              }
            }

            [Description("Party Contact Narrative")]
            public Tag70C Tag70C_Narrative_C2a1
            {
              get
              {
                return this.Narrative_C2a1_70C;
              }
            }

            [Description("End Of Block")]
            public Tag16S EndOfBlock_C2a1_16S
            {
              get
              {
                return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0086U0005);
              }
            }

            [Description("End Of Block")]
            public Tag16S Tag16S_EndOfBlock_C2a1
            {
              get
              {
                return this.EndOfBlock_C2a1_16S;
              }
            }

            internal SequenceC2a1Class(SwiftElement parent, int index, bool createTags)
              : base(parent, index, createTags)
            {
            }

            public Tag95P AddParty_C2a1_95P()
            {
              return new Tag95P((SwiftElement) this, this.Party_C2a1_95P.Length, (SwiftDefinitionElement) MT504.U0007U0005)
              {
                Value = string.Empty
              };
            }

            public void RemoveParty_C2a1_95P(Tag95P tag)
            {
              this.RemoveTag(tag.GetTag());
            }

            public Tag95Q AddParty_C2a1_95Q()
            {
              return new Tag95Q((SwiftElement) this, this.Party_C2a1_95Q.Length, (SwiftDefinitionElement) MT504.U000FU0005)
              {
                Value = string.Empty
              };
            }

            public void RemoveParty_C2a1_95Q(Tag95Q tag)
            {
              this.RemoveTag(tag.GetTag());
            }

            public Tag95R AddParty_C2a1_95R()
            {
              return new Tag95R((SwiftElement) this, this.Party_C2a1_95R.Length, (SwiftDefinitionElement) MT504.U0012U0005)
              {
                Value = string.Empty
              };
            }

            public void RemoveParty_C2a1_95R(Tag95R tag)
            {
              this.RemoveTag(tag.GetTag());
            }

            public MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class.Tag95S AddParty_C2a1_95S()
            {
              return new MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class.Tag95S((SwiftElement) this, this.Party_C2a1_95S.Length, (SwiftDefinitionElement) MT504.U0016U0005)
              {
                Value = string.Empty
              };
            }

            public void RemoveParty_C2a1_95S(MT504.SequenceCClass.SequenceC2Class.SequenceC2aClass.SequenceC2a1Class.Tag95S tag)
            {
              this.RemoveTag(tag.GetTag());
            }

            public Tag97A AddAccount_C2a1_97A()
            {
              return new Tag97A((SwiftElement) this, this.Account_C2a1_97A.Length, (SwiftDefinitionElement) MT504.U001DU0005)
              {
                Value = string.Empty
              };
            }

            public void RemoveAccount_C2a1_97A(Tag97A tag)
            {
              this.RemoveTag(tag.GetTag());
            }

            public Tag97E AddAccount_C2a1_97E()
            {
              return new Tag97E((SwiftElement) this, this.Account_C2a1_97E.Length, (SwiftDefinitionElement) MT504.U007FU0005)
              {
                Value = string.Empty
              };
            }

            public void RemoveAccount_C2a1_97E(Tag97E tag)
            {
              this.RemoveTag(tag.GetTag());
            }

            public class Tag95S : SwiftTagWrapper
            {
              public string Value
              {
                get
                {
                  return this.GetValue();
                }
                set
                {
                  this.SetValue("95S", value);
                }
              }

              internal Tag95S(SwiftElement parent, int index, SwiftDefinitionElement definition)
                : base(parent, index, definition)
              {
              }
            }
          }
        }
      }

      public class SequenceC3Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT504.U008CU0005;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_C3_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U008DU0005);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_C3
        {
          get
          {
            return this.StartOfBlock_C3_16R;
          }
        }

        [Description("Type of Other Collateral Indicator")]
        public MT504.SequenceCClass.Tag22H Indicator_C3_22H
        {
          get
          {
            return new MT504.SequenceCClass.Tag22H((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U008FU0005);
          }
        }

        [Description("Type of Other Collateral Indicator")]
        public MT504.SequenceCClass.Tag22H Tag22H_Indicator_C3
        {
          get
          {
            return this.Indicator_C3_22H;
          }
        }

        [Description("Date")]
        public Tag98A[] Date_C3_98A
        {
          get
          {
            int index = -1;
            List<Tag98A> list = new List<Tag98A>();
            int count;
            do
            {
              ++index;
              Tag98A tag98A = new Tag98A((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0093U0005);
              count = this.ListTags((SwiftElement) tag98A).Count;
              if (count > 0)
                list.Add(tag98A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Date")]
        public Tag98A[] Tag98A_Date_C3
        {
          get
          {
            return this.Date_C3_98A;
          }
        }

        [Description("Date Code")]
        public Tag98B[] DateCode_C3_98B
        {
          get
          {
            int index = -1;
            List<Tag98B> list = new List<Tag98B>();
            int count;
            do
            {
              ++index;
              Tag98B tag98B = new Tag98B((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0096U0005);
              count = this.ListTags((SwiftElement) tag98B).Count;
              if (count > 0)
                list.Add(tag98B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Date Code")]
        public Tag98B[] Tag98B_DateCode_C3
        {
          get
          {
            return this.DateCode_C3_98B;
          }
        }

        [Description("Party")]
        public Tag95P Party_C3_95P
        {
          get
          {
            return new Tag95P((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U009BU0005);
          }
        }

        [Description("Party")]
        public Tag95P Tag95P_Party_C3
        {
          get
          {
            return this.Party_C3_95P;
          }
        }

        [Description("Party")]
        public Tag95Q Party_C3_95Q
        {
          get
          {
            return new Tag95Q((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U009EU0005);
          }
        }

        [Description("Party")]
        public Tag95Q Tag95Q_Party_C3
        {
          get
          {
            return this.Party_C3_95Q;
          }
        }

        [Description("Party")]
        public Tag95R Party_C3_95R
        {
          get
          {
            return new Tag95R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0002U0006);
          }
        }

        [Description("Party")]
        public Tag95R Tag95R_Party_C3
        {
          get
          {
            return this.Party_C3_95R;
          }
        }

        [Description("Amount")]
        public Tag19B Amount_C3_19B
        {
          get
          {
            return new Tag19B((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0006U0006);
          }
        }

        [Description("Amount")]
        public Tag19B Tag19B_Amount_C3
        {
          get
          {
            return this.Amount_C3_19B;
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_C3_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0010U0006);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_C3
        {
          get
          {
            return this.EndOfBlock_C3_16S;
          }
        }

        internal SequenceC3Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public Tag98A AddDate_C3_98A()
        {
          return new Tag98A((SwiftElement) this, this.Date_C3_98A.Length, (SwiftDefinitionElement) MT504.U0093U0005)
          {
            Value = string.Empty
          };
        }

        public void RemoveDate_C3_98A(Tag98A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag98B AddDateCode_C3_98B()
        {
          return new Tag98B((SwiftElement) this, this.DateCode_C3_98B.Length, (SwiftDefinitionElement) MT504.U0096U0005)
          {
            Value = string.Empty
          };
        }

        public void RemoveDateCode_C3_98B(Tag98B tag)
        {
          this.RemoveTag(tag.GetTag());
        }
      }
    }

    public class SequenceDClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT504.U0014U0006;
        }
      }

      [Description("Start Of Block")]
      public Tag16R StartOfBlock_D_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0015U0006);
        }
      }

      [Description("Start Of Block")]
      public Tag16R Tag16R_StartOfBlock_D
      {
        get
        {
          return this.StartOfBlock_D_16R;
        }
      }

      [Description("Indicator")]
      public Tag22H[] Indicator_D_22H
      {
        get
        {
          int index = -1;
          List<Tag22H> list = new List<Tag22H>();
          int count;
          do
          {
            ++index;
            Tag22H tag22H = new Tag22H((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0018U0006);
            count = this.ListTags((SwiftElement) tag22H).Count;
            if (count > 0)
              list.Add(tag22H);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Indicator")]
      public Tag22H[] Tag22H_Indicator_D
      {
        get
        {
          return this.Indicator_D_22H;
        }
      }

      [Description("Indicator")]
      public Tag22F[] Indicator_D_22F
      {
        get
        {
          int index = -1;
          List<Tag22F> list = new List<Tag22F>();
          int count;
          do
          {
            ++index;
            Tag22F tag22F = new Tag22F((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U001BU0006);
            count = this.ListTags((SwiftElement) tag22F).Count;
            if (count > 0)
              list.Add(tag22F);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Indicator")]
      public Tag22F[] Tag22F_Indicator_D
      {
        get
        {
          return this.Indicator_D_22F;
        }
      }

      [Description("Settlement Parties")]
      public MT504.SequenceDClass.SequenceD1Class[] SequenceD1
      {
        get
        {
          int index = -1;
          List<MT504.SequenceDClass.SequenceD1Class> list = new List<MT504.SequenceDClass.SequenceD1Class>();
          int count;
          do
          {
            ++index;
            MT504.SequenceDClass.SequenceD1Class sequenceD1Class = new MT504.SequenceDClass.SequenceD1Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceD1Class).Count;
            if (count > 0)
              list.Add(sequenceD1Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("End Of Block")]
      public Tag16S EndOfBlock_D_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0005U0007);
        }
      }

      [Description("End Of Block")]
      public Tag16S Tag16S_EndOfBlock_D
      {
        get
        {
          return this.EndOfBlock_D_16S;
        }
      }

      internal SequenceDClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag22H AddIndicator_D_22H()
      {
        return new Tag22H((SwiftElement) this, this.Indicator_D_22H.Length, (SwiftDefinitionElement) MT504.U0018U0006)
        {
          Value = string.Empty
        };
      }

      public void RemoveIndicator_D_22H(Tag22H tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag22F AddIndicator_D_22F()
      {
        return new Tag22F((SwiftElement) this, this.Indicator_D_22F.Length, (SwiftDefinitionElement) MT504.U001BU0006)
        {
          Value = string.Empty
        };
      }

      public void RemoveIndicator_D_22F(Tag22F tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public MT504.SequenceDClass.SequenceD1Class AddSequenceD1()
      {
        return new MT504.SequenceDClass.SequenceD1Class((SwiftElement) this, this.SequenceD1.Length, true);
      }

      public void RemoveSequenceD1(MT504.SequenceDClass.SequenceD1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceD1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT504.U001FU0006;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_D1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U007FU0006);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_D1
        {
          get
          {
            return this.StartOfBlock_D1_16R;
          }
        }

        [Description("Party")]
        public Tag95C[] Party_D1_95C
        {
          get
          {
            int index = -1;
            List<Tag95C> list = new List<Tag95C>();
            int count;
            do
            {
              ++index;
              Tag95C tag95C = new Tag95C((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0082U0006);
              count = this.ListTags((SwiftElement) tag95C).Count;
              if (count > 0)
                list.Add(tag95C);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Party")]
        public Tag95C[] Tag95C_Party_D1
        {
          get
          {
            return this.Party_D1_95C;
          }
        }

        [Description("Party")]
        public Tag95P[] Party_D1_95P
        {
          get
          {
            int index = -1;
            List<Tag95P> list = new List<Tag95P>();
            int count;
            do
            {
              ++index;
              Tag95P tag95P = new Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0086U0006);
              count = this.ListTags((SwiftElement) tag95P).Count;
              if (count > 0)
                list.Add(tag95P);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Party")]
        public Tag95P[] Tag95P_Party_D1
        {
          get
          {
            return this.Party_D1_95P;
          }
        }

        [Description("Party")]
        public Tag95Q[] Party_D1_95Q
        {
          get
          {
            int index = -1;
            List<Tag95Q> list = new List<Tag95Q>();
            int count;
            do
            {
              ++index;
              Tag95Q tag95Q = new Tag95Q((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0089U0006);
              count = this.ListTags((SwiftElement) tag95Q).Count;
              if (count > 0)
                list.Add(tag95Q);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Party")]
        public Tag95Q[] Tag95Q_Party_D1
        {
          get
          {
            return this.Party_D1_95Q;
          }
        }

        [Description("Party")]
        public Tag95R[] Party_D1_95R
        {
          get
          {
            int index = -1;
            List<Tag95R> list = new List<Tag95R>();
            int count;
            do
            {
              ++index;
              Tag95R tag95R = new Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U008CU0006);
              count = this.ListTags((SwiftElement) tag95R).Count;
              if (count > 0)
                list.Add(tag95R);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Party")]
        public Tag95R[] Tag95R_Party_D1
        {
          get
          {
            return this.Party_D1_95R;
          }
        }

        [Description("Party")]
        public MT504.SequenceDClass.SequenceD1Class.Tag95S[] Party_D1_95S
        {
          get
          {
            int index = -1;
            List<MT504.SequenceDClass.SequenceD1Class.Tag95S> list = new List<MT504.SequenceDClass.SequenceD1Class.Tag95S>();
            int count;
            do
            {
              ++index;
              MT504.SequenceDClass.SequenceD1Class.Tag95S tag95S = new MT504.SequenceDClass.SequenceD1Class.Tag95S((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0090U0006);
              count = this.ListTags((SwiftElement) tag95S).Count;
              if (count > 0)
                list.Add(tag95S);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Party")]
        public MT504.SequenceDClass.SequenceD1Class.Tag95S[] Tag95S_Party_D1
        {
          get
          {
            return this.Party_D1_95S;
          }
        }

        [Description("Safe Keeping Account")]
        public Tag97A Account_D1_97A
        {
          get
          {
            return new Tag97A((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0097U0006);
          }
        }

        [Description("Safe Keeping Account")]
        public Tag97A Tag97A_Account_D1
        {
          get
          {
            return this.Account_D1_97A;
          }
        }

        [Description("Safe Keeping Account")]
        public Tag97B Account_D1_97B
        {
          get
          {
            return new Tag97B((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U009AU0006);
          }
        }

        [Description("Safe Keeping Account")]
        public Tag97B Tag97B_Account_D1
        {
          get
          {
            return this.Account_D1_97B;
          }
        }

        [Description("Party Contact Narrative")]
        public Tag70C Narrative_D1_70C
        {
          get
          {
            return new Tag70C((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U009FU0006);
          }
        }

        [Description("Party Contact Narrative")]
        public Tag70C Tag70C_Narrative_D1
        {
          get
          {
            return this.Narrative_D1_70C;
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_D1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0003U0007);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_D1
        {
          get
          {
            return this.EndOfBlock_D1_16S;
          }
        }

        internal SequenceD1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public Tag95C AddParty_D1_95C()
        {
          return new Tag95C((SwiftElement) this, this.Party_D1_95C.Length, (SwiftDefinitionElement) MT504.U0082U0006)
          {
            Value = string.Empty
          };
        }

        public void RemoveParty_D1_95C(Tag95C tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag95P AddParty_D1_95P()
        {
          return new Tag95P((SwiftElement) this, this.Party_D1_95P.Length, (SwiftDefinitionElement) MT504.U0086U0006)
          {
            Value = string.Empty
          };
        }

        public void RemoveParty_D1_95P(Tag95P tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag95Q AddParty_D1_95Q()
        {
          return new Tag95Q((SwiftElement) this, this.Party_D1_95Q.Length, (SwiftDefinitionElement) MT504.U0089U0006)
          {
            Value = string.Empty
          };
        }

        public void RemoveParty_D1_95Q(Tag95Q tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag95R AddParty_D1_95R()
        {
          return new Tag95R((SwiftElement) this, this.Party_D1_95R.Length, (SwiftDefinitionElement) MT504.U008CU0006)
          {
            Value = string.Empty
          };
        }

        public void RemoveParty_D1_95R(Tag95R tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public MT504.SequenceDClass.SequenceD1Class.Tag95S AddParty_D1_95S()
        {
          return new MT504.SequenceDClass.SequenceD1Class.Tag95S((SwiftElement) this, this.Party_D1_95S.Length, (SwiftDefinitionElement) MT504.U0090U0006)
          {
            Value = string.Empty
          };
        }

        public void RemoveParty_D1_95S(MT504.SequenceDClass.SequenceD1Class.Tag95S tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public class Tag95S : SwiftTagWrapper
        {
          public string Value
          {
            get
            {
              return this.GetValue();
            }
            set
            {
              this.SetValue("95S", value);
            }
          }

          internal Tag95S(SwiftElement parent, int index, SwiftDefinitionElement definition)
            : base(parent, index, definition)
          {
          }
        }
      }
    }

    public class SequenceEClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT504.U0007U0007;
        }
      }

      [Description("Start Of Block")]
      public Tag16R StartOfBlock_E_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0008U0007);
        }
      }

      [Description("Start Of Block")]
      public Tag16R Tag16R_StartOfBlock_E
      {
        get
        {
          return this.StartOfBlock_E_16R;
        }
      }

      [Description("Settlement Transaction Condition")]
      public Tag22F Indicator_E_22F
      {
        get
        {
          return new Tag22F((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U000FU0007);
        }
      }

      [Description("Settlement Transaction Condition")]
      public Tag22F Tag22F_Indicator_E
      {
        get
        {
          return this.Indicator_E_22F;
        }
      }

      [Description("Cash Parties")]
      public MT504.SequenceEClass.SequenceE1Class[] SequenceE1
      {
        get
        {
          int index = -1;
          List<MT504.SequenceEClass.SequenceE1Class> list = new List<MT504.SequenceEClass.SequenceE1Class>();
          int count;
          do
          {
            ++index;
            MT504.SequenceEClass.SequenceE1Class sequenceE1Class = new MT504.SequenceEClass.SequenceE1Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceE1Class).Count;
            if (count > 0)
              list.Add(sequenceE1Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("End Of Block")]
      public Tag16S EndOfBlock_E_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0093U0007);
        }
      }

      [Description("End Of Block")]
      public Tag16S Tag16S_EndOfBlock_E
      {
        get
        {
          return this.EndOfBlock_E_16S;
        }
      }

      internal SequenceEClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public MT504.SequenceEClass.SequenceE1Class AddSequenceE1()
      {
        return new MT504.SequenceEClass.SequenceE1Class((SwiftElement) this, this.SequenceE1.Length, true);
      }

      public void RemoveSequenceE1(MT504.SequenceEClass.SequenceE1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceE1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT504.U0013U0007;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_E1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0014U0007);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_E1
        {
          get
          {
            return this.StartOfBlock_E1_16R;
          }
        }

        [Description("Party")]
        public Tag95P[] Party_E1_95P
        {
          get
          {
            int index = -1;
            List<Tag95P> list = new List<Tag95P>();
            int count;
            do
            {
              ++index;
              Tag95P tag95P = new Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0017U0007);
              count = this.ListTags((SwiftElement) tag95P).Count;
              if (count > 0)
                list.Add(tag95P);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Party")]
        public Tag95P[] Tag95P_Party_E1
        {
          get
          {
            return this.Party_E1_95P;
          }
        }

        [Description("Party")]
        public Tag95Q[] Party_E1_95Q
        {
          get
          {
            int index = -1;
            List<Tag95Q> list = new List<Tag95Q>();
            int count;
            do
            {
              ++index;
              Tag95Q tag95Q = new Tag95Q((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U001AU0007);
              count = this.ListTags((SwiftElement) tag95Q).Count;
              if (count > 0)
                list.Add(tag95Q);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Party")]
        public Tag95Q[] Tag95Q_Party_E1
        {
          get
          {
            return this.Party_E1_95Q;
          }
        }

        [Description("Party")]
        public Tag95R[] Party_E1_95R
        {
          get
          {
            int index = -1;
            List<Tag95R> list = new List<Tag95R>();
            int count;
            do
            {
              ++index;
              Tag95R tag95R = new Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U001DU0007);
              count = this.ListTags((SwiftElement) tag95R).Count;
              if (count > 0)
                list.Add(tag95R);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Party")]
        public Tag95R[] Tag95R_Party_E1
        {
          get
          {
            return this.Party_E1_95R;
          }
        }

        [Description("Party")]
        public MT504.SequenceEClass.SequenceE1Class.Tag95S[] Party_E1_95S
        {
          get
          {
            int index = -1;
            List<MT504.SequenceEClass.SequenceE1Class.Tag95S> list = new List<MT504.SequenceEClass.SequenceE1Class.Tag95S>();
            int count;
            do
            {
              ++index;
              MT504.SequenceEClass.SequenceE1Class.Tag95S tag95S = new MT504.SequenceEClass.SequenceE1Class.Tag95S((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0080U0007);
              count = this.ListTags((SwiftElement) tag95S).Count;
              if (count > 0)
                list.Add(tag95S);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Party")]
        public MT504.SequenceEClass.SequenceE1Class.Tag95S[] Tag95S_Party_E1
        {
          get
          {
            return this.Party_E1_95S;
          }
        }

        [Description("Account")]
        public Tag97A[] Account_E1_97A
        {
          get
          {
            int index = -1;
            List<Tag97A> list = new List<Tag97A>();
            int count;
            do
            {
              ++index;
              Tag97A tag97A = new Tag97A((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0088U0007);
              count = this.ListTags((SwiftElement) tag97A).Count;
              if (count > 0)
                list.Add(tag97A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Account")]
        public Tag97A[] Tag97A_Account_E1
        {
          get
          {
            return this.Account_E1_97A;
          }
        }

        [Description("Account")]
        public Tag97E[] Account_E1_97E
        {
          get
          {
            int index = -1;
            List<Tag97E> list = new List<Tag97E>();
            int count;
            do
            {
              ++index;
              Tag97E tag97E = new Tag97E((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U008BU0007);
              count = this.ListTags((SwiftElement) tag97E).Count;
              if (count > 0)
                list.Add(tag97E);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Account")]
        public Tag97E[] Tag97E_Account_E1
        {
          get
          {
            return this.Account_E1_97E;
          }
        }

        [Description("Party Contact Narrative")]
        public Tag70C Narrative_E1_70C
        {
          get
          {
            return new Tag70C((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U008EU0007);
          }
        }

        [Description("Party Contact Narrative")]
        public Tag70C Tag70C_Narrative_E1
        {
          get
          {
            return this.Narrative_E1_70C;
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_E1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0091U0007);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_E1
        {
          get
          {
            return this.EndOfBlock_E1_16S;
          }
        }

        internal SequenceE1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public Tag95P AddParty_E1_95P()
        {
          return new Tag95P((SwiftElement) this, this.Party_E1_95P.Length, (SwiftDefinitionElement) MT504.U0017U0007)
          {
            Value = string.Empty
          };
        }

        public void RemoveParty_E1_95P(Tag95P tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag95Q AddParty_E1_95Q()
        {
          return new Tag95Q((SwiftElement) this, this.Party_E1_95Q.Length, (SwiftDefinitionElement) MT504.U001AU0007)
          {
            Value = string.Empty
          };
        }

        public void RemoveParty_E1_95Q(Tag95Q tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag95R AddParty_E1_95R()
        {
          return new Tag95R((SwiftElement) this, this.Party_E1_95R.Length, (SwiftDefinitionElement) MT504.U001DU0007)
          {
            Value = string.Empty
          };
        }

        public void RemoveParty_E1_95R(Tag95R tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public MT504.SequenceEClass.SequenceE1Class.Tag95S AddParty_E1_95S()
        {
          return new MT504.SequenceEClass.SequenceE1Class.Tag95S((SwiftElement) this, this.Party_E1_95S.Length, (SwiftDefinitionElement) MT504.U0080U0007)
          {
            Value = string.Empty
          };
        }

        public void RemoveParty_E1_95S(MT504.SequenceEClass.SequenceE1Class.Tag95S tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag97A AddAccount_E1_97A()
        {
          return new Tag97A((SwiftElement) this, this.Account_E1_97A.Length, (SwiftDefinitionElement) MT504.U0088U0007)
          {
            Value = string.Empty
          };
        }

        public void RemoveAccount_E1_97A(Tag97A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag97E AddAccount_E1_97E()
        {
          return new Tag97E((SwiftElement) this, this.Account_E1_97E.Length, (SwiftDefinitionElement) MT504.U008BU0007)
          {
            Value = string.Empty
          };
        }

        public void RemoveAccount_E1_97E(Tag97E tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public class Tag95S : SwiftTagWrapper
        {
          public string Value
          {
            get
            {
              return this.GetValue();
            }
            set
            {
              this.SetValue("95S", value);
            }
          }

          internal Tag95S(SwiftElement parent, int index, SwiftDefinitionElement definition)
            : base(parent, index, definition)
          {
          }
        }
      }
    }

    public class SequenceFClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT504.U0095U0007;
        }
      }

      [Description("Start of Block")]
      public Tag16R StartOfBlock_F_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0096U0007);
        }
      }

      [Description("Start of Block")]
      public Tag16R Tag16R_StartOfBlock_F
      {
        get
        {
          return this.StartOfBlock_F_16R;
        }
      }

      [Description("Party")]
      public Tag95P[] Party_F_95P
      {
        get
        {
          int index = -1;
          List<Tag95P> list = new List<Tag95P>();
          int count;
          do
          {
            ++index;
            Tag95P tag95P = new Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0099U0007);
            count = this.ListTags((SwiftElement) tag95P).Count;
            if (count > 0)
              list.Add(tag95P);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95P[] Tag95P_Party_F
      {
        get
        {
          return this.Party_F_95P;
        }
      }

      [Description("Party")]
      public Tag95R[] Party_F_95R
      {
        get
        {
          int index = -1;
          List<Tag95R> list = new List<Tag95R>();
          int count;
          do
          {
            ++index;
            Tag95R tag95R = new Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U009CU0007);
            count = this.ListTags((SwiftElement) tag95R).Count;
            if (count > 0)
              list.Add(tag95R);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95R[] Tag95R_Party_F
      {
        get
        {
          return this.Party_F_95R;
        }
      }

      [Description("Party")]
      public Tag95Q[] Party_F_95Q
      {
        get
        {
          int index = -1;
          List<Tag95Q> list = new List<Tag95Q>();
          int count;
          do
          {
            ++index;
            Tag95Q tag95Q = new Tag95Q((SwiftElement) this, index, (SwiftDefinitionElement) MT504.U0001U0008);
            count = this.ListTags((SwiftElement) tag95Q).Count;
            if (count > 0)
              list.Add(tag95Q);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95Q[] Tag95Q_Party_F
      {
        get
        {
          return this.Party_F_95Q;
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_F_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT504.U0004U0008);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_F
      {
        get
        {
          return this.EndOfBlock_F_16S;
        }
      }

      internal SequenceFClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag95P AddParty_F_95P()
      {
        return new Tag95P((SwiftElement) this, this.Party_F_95P.Length, (SwiftDefinitionElement) MT504.U0099U0007)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_F_95P(Tag95P tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95R AddParty_F_95R()
      {
        return new Tag95R((SwiftElement) this, this.Party_F_95R.Length, (SwiftDefinitionElement) MT504.U009CU0007)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_F_95R(Tag95R tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95Q AddParty_F_95Q()
      {
        return new Tag95Q((SwiftElement) this, this.Party_F_95Q.Length, (SwiftDefinitionElement) MT504.U0001U0008)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_F_95Q(Tag95Q tag)
      {
        this.RemoveTag(tag.GetTag());
      }
    }
  }
}
